Skip to content

Instantly share code, notes, and snippets.

@MaximePawlakFr
Created February 6, 2019 12:39
Show Gist options
  • Save MaximePawlakFr/ae955301c01650ac8fd9ed3936ab50db to your computer and use it in GitHub Desktop.
Save MaximePawlakFr/ae955301c01650ac8fd9ed3936ab50db to your computer and use it in GitHub Desktop.
df_villes_grouped_clean = df_villes_grouped["counts"].sum().reset_index()[columns_to_keep]
df_villes_grouped_clean = df_villes_grouped_clean.rename(columns={"prec_ville":"depart", "interv_ville":"arrivee","counts":"nombre"})
df_infos(df_villes_grouped_clean)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment