All APIs of TSDB#
TSDB#
TSDB (Time Series Data Beans): a Python toolbox to ease loading public time-series datasets.
- tsdb.list()[source]#
List the database.
- Returns:
DATABASE – A dict contains all datasets’ names and download links.
- Return type:
- tsdb.download_and_extract(dataset_name, dataset_saving_path)[source]#
Wrapper of _download_and_extract.
- tsdb.list_cache()[source]#
List names of all cached datasets.
- Returns:
A list contains all cached datasets’ names.
- Return type:
list,
- tsdb.purge_path(path, ignore_errors=True)[source]#
Delete the given path. It will be deleted if a file is given. Itself and all its contents will be purged will a fold is given.
- tsdb.pickle_load(path)[source]#
Load pickled object from file.
- Parameters:
path (
str
) – Local path of the pickled object.- Returns:
Pickled object.
- Return type:
Object