Closed OnnoEbbens closed 3 years ago
When I run the code in this notebook
I get the following error: ValueError: DataFrame index must be unique for orient='columns'.
ValueError: DataFrame index must be unique for orient='columns'.
when trying to write the pastastore to a .zip file using: store.to_zip('pastasstore.zip', overwrite=True)
store.to_zip('pastasstore.zip', overwrite=True)
Duplicate timestamps by any chance?
It's because of NaT timestamps in the timeseries.
Calling dropna() when adding the oseries to the pastastore solves the issue.
When I run the code in this notebook
I get the following error:
ValueError: DataFrame index must be unique for orient='columns'.
when trying to write the pastastore to a .zip file using:
store.to_zip('pastasstore.zip', overwrite=True)