WenjieDu / TSDB

a Python toolbox loads 172 public time series datasets for machine/deep learning with a single line of code. Datasets from multiple domains including healthcare, financial, power, traffic, weather, and etc.
https://pypots.com/ecosystem/#TSDB
BSD 3-Clause "New" or "Revised" License
150 stars 15 forks source link

Delete only pickled data cache #64

Closed WenjieDu closed 2 months ago

WenjieDu commented 2 months ago

1. Feature description

Enable tsdb.delete_cache() to only delete cache files with .pickle suffix.

2. Motivation

After TSDB update, if some pipelines get changed, old pickled datasets may need to be deleted and new caches should be generated with new preprocessing steps. Hence, we need such a function.

3. Your contribution

Will submit a PR.