Skip to content

Instantly share code, notes, and snippets.

@aniruddha27
Created March 16, 2020 09:38
Show Gist options
  • Save aniruddha27/9630ce2fe7b7b8dbbfaf806a5ae6740b to your computer and use it in GitHub Desktop.
Save aniruddha27/9630ce2fe7b7b8dbbfaf806a5ae6740b to your computer and use it in GitHub Desktop.
table = pd.pivot_table(train,index='OverallQual',values='SalePrice',aggfunc=np.mean)
table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment