Utils#
Glucose units#
|
Convert mg/dL to mmol/L. |
|
Convert mmol/L to mg/dL. |
Time#
|
Converts a string with format 'hh:mm:ss, hh:mm or hh' to a datetime.time object |
|
Return the time factor of a given time string. |
|
Converts a datetime.time object to a string with format 'hh:mm:ss' |
Datasets#
|
Disjoins a dataframe with a column with datetime objects into a dataframe with columns for day, time and cgm values |