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
We also need a way to sort by multiple columns (e.g. first by columnA, then by columnB).
Perhaps, also sort by column index (e.g. DataFrame >> sortByColumnAt: aNumber).
That being said, we need to discuss a consistent and flexible API that would allow us to cover all of those cases.
Finally, since DataFrame is a collection, we must support sort, sorted, sort:, and sorted:.
Normally, those methods should already work if we implement do: or add: but as Myroslava pointed out in issue #127, sorted: returns an Array instead of a DataFrame.
The text was updated successfully, but these errors were encountered:
At the moment, we have three methods in DataFrame's
sorting
protocol:We need to add more methods, e.g.
Also, the
sorted*
methods that do not modify the data frame but return a sorted copy instead:We also need a way to sort by multiple columns (e.g. first by
columnA
, then bycolumnB
).Perhaps, also sort by column index (e.g.
DataFrame >> sortByColumnAt: aNumber
).That being said, we need to discuss a consistent and flexible API that would allow us to cover all of those cases.
Finally, since DataFrame is a collection, we must support
sort
,sorted
,sort:
, andsorted:
.Normally, those methods should already work if we implement
do:
oradd:
but as Myroslava pointed out in issue #127,sorted:
returns an Array instead of a DataFrame.The text was updated successfully, but these errors were encountered: