Error writing pastastore to .zip file
OnnoEbbens opened this issue · comments
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)
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.