Skip to content
Advertisement

pandas sort values to get which item is placed with the most quantity

how to show which item is placed with the most quantity from this data?

how to show which item is most ordered groupby choice_description?

JavaScript

My data

JavaScript

Advertisement

Answer

This will list all ties (if any).

JavaScript

Output:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement