Skip to content

Instantly share code, notes, and snippets.

@ThonyPrice
Created April 25, 2019 17:07
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/1f02c3293c53c630237e537d77b440de to your computer and use it in GitHub Desktop.
Save ThonyPrice/1f02c3293c53c630237e537d77b440de to your computer and use it in GitHub Desktop.
Medium - Get started analysing your CGM data
expected_diff = timedelta(minutes=5, seconds=30)
missing_samples_idxs = np.where(z['t_diff'] > expected_diff)[0]
c_samples_times = z.iloc[missing_samples_idxs, :]['t_diff']
c_samples_times
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment