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
If you look at column y on it's own, the third row has a smaller value (1) than the second row (2), so it's not sorted. However if you call .sort("x", "y") on this dataframe, this is the result you will get.
Description
set_sorted
allows multiple columns to be passed. It's not clear whether this refers to join sorting or individual sorting.e.g. consider this dataframe:
If you look at column
y
on it's own, the third row has a smaller value (1
) than the second row (2
), so it's not sorted. However if you call.sort("x", "y")
on this dataframe, this is the result you will get.Which meaning of "sorted" is used here?
Link
https://docs.pola.rs/api/python/stable/reference/lazyframe/api/polars.LazyFrame.set_sorted.html#polars.LazyFrame.set_sorted
The text was updated successfully, but these errors were encountered: