how to sort the order in multiple index pandas

Solutions on MaxInterview for how to sort the order in multiple index pandas by the best coders in the world

showing results for - "how to sort the order in multiple index pandas"
Fabiana
01 Oct 2020
1In [1]: grouped.sortlevel(["Manufacturer","Product Launch Date"], sort_remaining=False)
2
3                                               Sales
4Manufacturer Product Name Product Launch Date       
5Apple        iPod         2001-10-23              34
6             iPad         2010-04-03              30
7Samsung      Galaxy       2009-04-27              24
8             Galaxy Tab   2010-09-02              22
9
similar questions