Skip to content

Instantly share code, notes, and snippets.

@ThonyPrice
Created April 25, 2019 19:51
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 ThonyPrice/b9f37e9bd4621ef7e4fc7f318e7d4231 to your computer and use it in GitHub Desktop.
Save ThonyPrice/b9f37e9bd4621ef7e4fc7f318e7d4231 to your computer and use it in GitHub Desktop.
Medium - Get started analysing your CGM data
z = df.copy(deep=True)
z.index = z.index.round('5Min')
plt.figure(figsize=(16, 6))
ax = sns.lineplot(x=z.index.time, y=z['glucose'], color='#13ac5f')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment