Last active
May 2, 2020 18:22
-
-
Save anbento0490/1078579f2013bd9546785eea2ee4b65d 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
orders["Run Avg (£)"] = orders.groupby(['Customer ID', 'Order Month'])['Amount Paid (£)'].transform('mean').round(1) | |
orders.head(20) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment