Created
March 12, 2020 17:26
-
-
Save aniruddha27/f2a008305e5ba2df362bf1b4ba03ee9b 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
table = pd.pivot_table(data=df,index='category',values='num_orders',aggfunc=np.sum) | |
table |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment