glucopy.data#
- glucopy.data(dataset: str = 'prueba_1')[source]#
GlucoPy includes a few datasets to test the package, this function downloads and returns one of them as a Gframe object.
The following datasets are available:
prueba_1
prueba_2
- Parameters:
dataset (str, default 'prueba_1') – Name of the dataset to download
- Returns:
Gframe object
- Return type:
Examples
In [1]: import glucopy as gp In [2]: gf = gp.data('prueba_1') In [3]: gf Out[3]: Timestamp Day Time CGM 0 2020-11-27 21:29:00 2020-11-27 21:29:00 235.0 1 2020-11-27 21:44:00 2020-11-27 21:44:00 242.0 2 2020-11-27 21:59:00 2020-11-27 21:59:00 257.0 3 2020-11-27 22:14:00 2020-11-27 22:14:00 277.0 4 2020-11-27 22:29:00 2020-11-27 22:29:00 299.0 ... ... ... ... ... 10384 2021-03-18 14:50:00 2021-03-18 14:50:00 172.0 10385 2021-03-18 15:05:00 2021-03-18 15:05:00 200.0 10386 2021-03-18 15:20:00 2021-03-18 15:20:00 218.0 10387 2021-03-18 15:35:00 2021-03-18 15:35:00 231.0 10388 2021-03-18 15:50:00 2021-03-18 15:50:00 237.0 [10389 rows x 4 columns]