gordo-core#
gordo-core can fetch data from various sources, including databases, APIs, and file systems. The library provides a unified interface for accessing these data sources, making integrating new sources into the workflow easy. It also provides tools for preprocessing and cleaning fetched data.
Example of usage:
In [1]: from gordo_core.time_series import RandomDataset
In [2]: dataset = RandomDataset(
...: train_start_date='2023-01-01 00:00:00+00:00',
...: train_end_date='2023-01-31 00:00:00+00:00',
...: tag_list=['tag1', 'tag2', 'tag3']
...: )
...:
In [3]: X, y = dataset.get_data() # Randomly generated X, y dataframes
In [4]: X
Out[4]:
tag1 tag2 tag3
2023-01-01 05:40:00+00:00 0.675439 0.374603 0.933482
2023-01-01 05:50:00+00:00 0.614633 0.374450 0.933119
2023-01-01 06:00:00+00:00 0.553827 0.374296 0.932755
2023-01-01 06:10:00+00:00 0.493021 0.499127 0.932392
2023-01-01 06:20:00+00:00 0.432215 0.623958 0.932029
... ... ... ...
2023-01-30 23:20:00+00:00 0.286915 0.019123 0.483753
2023-01-30 23:30:00+00:00 0.286915 0.019123 0.483753
2023-01-30 23:40:00+00:00 0.286915 0.019123 0.483753
2023-01-30 23:50:00+00:00 0.286915 0.019123 0.483753
2023-01-31 00:00:00+00:00 0.286915 0.019123 0.483753
[4287 rows x 3 columns]