Skip to content

Commit

Permalink
Improve docstring of Coerce
Browse files Browse the repository at this point in the history
  • Loading branch information
juliohm committed Oct 18, 2024
1 parent fc1c803 commit 19c5079
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/transforms/coerce.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ This transform uses the `DataScienceTraits.coerce` function. Please see their do
# Examples
```julia
import DataScienceTraits as DST
Coerce(1 => DST.Continuous, 2 => DST.Continuous)
Coerce(:a => DST.Continuous, :b => DST.Continuous)
Coerce("a" => DST.Continuous, "b" => DST.Continuous)
using DataScienceTraits
Coerce(1 => Continuous, 2 => Continuous)
Coerce(:a => Continuous, :b => Continuous)
Coerce("a" => Continuous, "b" => Continuous)
```
"""
struct Coerce{S<:ColumnSelector,T} <: StatelessFeatureTransform
Expand Down

0 comments on commit 19c5079

Please sign in to comment.