Skip to content

Instantly share code, notes, and snippets.

@aqd14
Created February 21, 2020 03:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aqd14/88abef80aca5a58571d97a2a344d2668 to your computer and use it in GitHub Desktop.
Save aqd14/88abef80aca5a58571d97a2a344d2668 to your computer and use it in GitHub Desktop.

Notes

# rename column by passing tuples
grouped_pct.agg([('foo', 'mean'), ('bar', np.std)])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment