You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the docstring recommends using sortperm, but I do not understand your logic behind this, I think you meant ordinalrank (or some other rank) from StatsBase.jl - it is probably confusing readers
internally you use sortperm(t) in the implementation; this behavior is deprecated; you should do sortperm(t, :) in the future; the reason for this deprecation is that sortperm(t) definition was inconsistent (starting from DataFrames.jl 1.4 it will start producing warnings); the same is for all sorting methods getting only a data frame as a source (a general recommendation: run all DataFramesMeta.jl tests with deprecation warnings enabled and see where warning is thrown)
Thank you!
The text was updated successfully, but these errors were encountered:
@pdeffebach
Following https://discourse.julialang.org/t/how-does-orderby-work-with-multiple-columns/88155/2 investigation I found two problems with
@orderby
:sortperm
, but I do not understand your logic behind this, I think you meantordinalrank
(or some other rank) from StatsBase.jl - it is probably confusing readerssortperm(t)
in the implementation; this behavior is deprecated; you should dosortperm(t, :)
in the future; the reason for this deprecation is thatsortperm(t)
definition was inconsistent (starting from DataFrames.jl 1.4 it will start producing warnings); the same is for all sorting methods getting only a data frame as a source (a general recommendation: run all DataFramesMeta.jl tests with deprecation warnings enabled and see where warning is thrown)Thank you!
The text was updated successfully, but these errors were encountered: