Answers for "how to sort the order in multiple index pandas"

0

how to sort the order in multiple index pandas

In [1]: grouped.sortlevel(["Manufacturer","Product Launch Date"], sort_remaining=False)

                                               Sales
Manufacturer Product Name Product Launch Date       
Apple        iPod         2001-10-23              34
             iPad         2010-04-03              30
Samsung      Galaxy       2009-04-27              24
             Galaxy Tab   2010-09-02              22
Posted by: Guest on August-10-2021

Code answers related to "how to sort the order in multiple index pandas"

Python Answers by Framework

Browse Popular Code Answers by Language