Last active
September 21, 2021 14:13
-
-
Save aniruddha27/927b23d27aa6fbeaf5ca5b5456928486 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
df_apply = df.groupby(['Outlet_Establishment_Year'])['Item_MRP'].apply(lambda x: x - x.mean()) | |
df_apply |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment