Skip to content

Commit dfe93e8

Browse files
committed
correct the docstring for duplicates
1 parent 5cd6a89 commit dfe93e8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/abstractdataset/abstractdataset.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -905,17 +905,17 @@ Base.Array{T}(ds::AbstractDataset) where {T} = Matrix{T}(ds)
905905
duplicates(ds::AbstractDataset, cols; [mapformats = false, leave = :first, threads])
906906
907907
Return a `Vector{Bool}` in which `true` entries indicate duplicate rows.
908-
A row is a duplicate if there exists a prior row (default behavior, see the `leave` keyword argument for other options) with all columns containing
908+
A row is a duplicate if there exists a prior row (default behaviour, see the `leave` keyword argument for other options) with all columns containing
909909
equal values (according to `isequal`).
910910
911911
If `mapformats = true` the values are checked based on their formatted values.
912912
913-
The `leave` keyword argument determines which occurance of duplicated rows should be indicated as non-duplicate rows.
913+
The `leave` keyword argument determines which occurrence of duplicated rows should be indicated as non-duplicate rows.
914914
915-
* `leave = :first` means that everey occurance after the first one be marked as duplicate rows,
916-
* `leave = :last` means that every occurance before the last one be marked as duplicate rows,
917-
* `leave = :none` means that every occurance of duplicates rows be marked as duplicate rows,
918-
* `leave = :random` means that a random occurance of duplicate rows be marked as duplicate rows.
915+
* `leave = :first` means that every occurrence after the first one be marked as duplicate rows,
916+
* `leave = :last` means that every occurrence before the last one be marked as duplicate rows,
917+
* `leave = :none` means that non-duplicates rows be marked true (duplicates row be left out),
918+
* `leave = :random` means that a random occurrence of duplicate rows left out and the rest be marked as duplicate rows.
919919
920920
See also [`unique`](@ref) and [`unique!`](@ref).
921921

0 commit comments

Comments
 (0)