Skip to content

Instantly share code, notes, and snippets.

@WouterNieuwerth
Created February 9, 2020 14:02
Show Gist options
  • Save WouterNieuwerth/329df5391278920eb25f9bd22d064c15 to your computer and use it in GitHub Desktop.
Save WouterNieuwerth/329df5391278920eb25f9bd22d064c15 to your computer and use it in GitHub Desktop.
GPX analysis - step 7
df_selected = df.loc[:, ['distance_dis_3d','time_delta']]
df_selected['distance_cumsum'] = df_selected['distance_dis_3d'].cumsum()
df_selected['time_cumsum'] = df_selected['time_delta'].cumsum()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment