Created
August 19, 2018 22:37
-
-
Save ericness/663cf77a92595af346a0367ad06f10c1 to your computer and use it in GitHub Desktop.
Sum order amounts by customer and order date.
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
daily_orders = orders.groupby(['customer', 'order_date']).sum() | |
print(daily_orders) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment