Skip to content

Instantly share code, notes, and snippets.

@ThonyPrice
Created April 24, 2019 21:31
Show Gist options
  • Save ThonyPrice/8836d1f647f4c22cfc8cdd8af5443d01 to your computer and use it in GitHub Desktop.
Save ThonyPrice/8836d1f647f4c22cfc8cdd8af5443d01 to your computer and use it in GitHub Desktop.
Medium - Get started analysing your CGM data
df = df[['Timestamp (YYYY-MM-DDThh:mm:ss)', 'Glucose Value (mg/dL)']]
df.rename(columns={
"Timestamp (YYYY-MM-DDThh:mm:ss)": "time",
"Glucose Value (mg/dL)": "glucose"},
inplace=True)
df.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment