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 03:40:00+00:00 0.058029 0.964096 0.111496
2023-01-01 03:50:00+00:00 0.089395 0.960799 0.126604
2023-01-01 04:00:00+00:00 0.120760 0.957503 0.141711
2023-01-01 04:10:00+00:00 0.152126 0.954206 0.156819
2023-01-01 04:20:00+00:00 0.183492 0.950909 0.171926
... ... ... ...
2023-01-30 23:20:00+00:00 0.360546 0.456410 0.427566
2023-01-30 23:30:00+00:00 0.360546 0.456410 0.416922
2023-01-30 23:40:00+00:00 0.360546 0.456410 0.406278
2023-01-30 23:50:00+00:00 0.360546 0.456410 0.395634
2023-01-31 00:00:00+00:00 0.360546 0.456410 0.395634
[4299 rows x 3 columns]