Skip to content

Instantly share code, notes, and snippets.

@WouterNieuwerth
Created February 9, 2020 13:46
Show Gist options
  • Save WouterNieuwerth/7ab69c095050bc7e80e4b82705bcf262 to your computer and use it in GitHub Desktop.
Save WouterNieuwerth/7ab69c095050bc7e80e4b82705bcf262 to your computer and use it in GitHub Desktop.
GPX analysis - step 5
df['time'] = pd.to_datetime(df['time'], utc=True)
df['time'] = df['time'].dt.tz_localize(tz=None)
df['time-start'] = pd.to_datetime(df['time-start'], utc=True)
df['time-start'] = df['time-start'].dt.tz_localize(tz=None)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment