Exchange the levels of the MultiIndex so the index is (numbers, letters), then
ensure it is sorted. Return the new Series.
Sample data:
s:
A 0 0
1 1
2 2
3 3
4 4
5 5
... (30 rows total)
Sign in to write and run your own code.
solve(...)