Skip to content

Commit 8f32560

Browse files
committed
Improve README
1 parent 0a64f14 commit 8f32560

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ that need to dispatch different algorithms depending on scientific
1515
types:
1616

1717
```julia
18-
import DataScienceTraits as DST
18+
using DataScienceTraits
1919

20-
reduction(::DST.Continuous) = sum
21-
reduction(::DST.Categorical) = first
20+
reduction(::Continuous) = sum
21+
reduction(::Categorical) = first
2222
```
2323

2424
Extensions are provided for third-party types such as CoDa.jl

0 commit comments

Comments
 (0)