Skip to content

Commit 19c5079

Browse files
committed
Improve docstring of Coerce
1 parent fc1c803 commit 19c5079

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/transforms/coerce.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ This transform uses the `DataScienceTraits.coerce` function. Please see their do
1616
# Examples
1717
1818
```julia
19-
import DataScienceTraits as DST
20-
Coerce(1 => DST.Continuous, 2 => DST.Continuous)
21-
Coerce(:a => DST.Continuous, :b => DST.Continuous)
22-
Coerce("a" => DST.Continuous, "b" => DST.Continuous)
19+
using DataScienceTraits
20+
Coerce(1 => Continuous, 2 => Continuous)
21+
Coerce(:a => Continuous, :b => Continuous)
22+
Coerce("a" => Continuous, "b" => Continuous)
2323
```
2424
"""
2525
struct Coerce{S<:ColumnSelector,T} <: StatelessFeatureTransform

0 commit comments

Comments
 (0)