My requirement could be explained in the following steps:
- Created a Pivot_table by pivoting 'Geo' column from a Pandas dataframe
- As a result of pivoting, the new colums came up well in the resultset as North AMERICA EUROPE OCEANSIA etc
- Now would like to sort the resultset above based on the EUROPE values alone, and Based on the All values (if margin=True option while pivot_table is created)
Comments
Post a Comment