Skip to content

Commit 4d93e3f

Browse files
committed
delete nonuniquekey() method
it's not used and it is no loner faster than nonunique()
1 parent 3f7e62b commit 4d93e3f

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/abstractdataframe/abstractdataframe.jl

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -621,17 +621,6 @@ unique!(df) # modifies df
621621
"""
622622
(unique, unique!)
623623

624-
function nonuniquekey(df::AbstractDataFrame)
625-
# Here's another (probably a lot faster) way to do `nonunique`
626-
# by grouping on all columns. It will fail if columns cannot be
627-
# made into PooledDataVector's.
628-
gd = groupby(df, _names(df))
629-
idx = [1:length(gd.idx)][gd.idx][gd.starts]
630-
res = fill(true, nrow(df))
631-
res[idx] = false
632-
res
633-
end
634-
635624
# Count the number of missing values in every column of an AbstractDataFrame.
636625
function colmissing(df::AbstractDataFrame) # -> Vector{Int}
637626
nrows, ncols = size(df)

0 commit comments

Comments
 (0)