Skip to content

Instantly share code, notes, and snippets.

@FBosler
Created August 31, 2019 14:19
Show Gist options
  • Save FBosler/6ebd7c8a57cfc3bae4c2430badc94ae4 to your computer and use it in GitHub Desktop.
Save FBosler/6ebd7c8a57cfc3bae4c2430badc94ae4 to your computer and use it in GitHub Desktop.
_ = orders_with_meals.groupby(['Days of meal before order']).agg(
{'Converted': np.mean}
)
plot_bars(data=_,x_col='Days of meal before order',y_col='Converted')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment