Last active
January 16, 2022 20:56
-
-
Save susanli2016/6e5921ff7ac88b421528fa042db03cbb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grouped_df.loc[grouped_df['customer_id'] == 2].sort_values('Quantity', ascending=False)[['customer_id', 'Description', 'Quantity']].head(20) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment