-
Series.sortlevel(level=0, ascending=True, sort_remaining=True)
[source] -
Sort Series with MultiIndex by chosen level. Data will be lexicographically sorted by the chosen level followed by the other levels (in order)
Parameters: level : int or level name, default None
ascending : bool, default True
Returns: sorted : Series
See also
Series.sortlevel()

2025-01-10 15:47:30
Please login to continue.