Skip to content

Commit 06474d0

Browse files
committed
Improve docstrings in satisfies.jl
1 parent 4fc4fe2 commit 06474d0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/transforms/satisfies.jl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,9 @@ Selects the columns that have scientific type `S`.
4242
# Examples
4343
4444
```julia
45-
import DataScienceTraits as DST
46-
Only(DST.Continuous)
45+
using DataScienceTraits
46+
47+
Only(Continuous)
4748
```
4849
"""
4950
Only(S::Type{<:SciType}) = Satisfies(x -> elscitype(x) <: S)
@@ -56,8 +57,9 @@ Selects the columns that don't have scientific type `S`.
5657
# Examples
5758
5859
```julia
59-
import DataScienceTraits as DST
60-
Except(DST.Categorical)
60+
using DataScienceTraits
61+
62+
Except(Categorical)
6163
```
6264
"""
6365
Except(S::Type{<:SciType}) = Satisfies(x -> !(elscitype(x) <: S))

0 commit comments

Comments
 (0)