ValueError: cannot reindex on an axis with duplicate labels
When fetching data via the API there sometimes is the following error:
ValueError: cannot reindex on an axis with duplicate labels.
It seems that there is (1) some bug at the data-upload which results in duplicated timestamps and (2) the API implementation cannot deal with duplicated timestamps yet. The code which fails is the DataFrame.to_json() method.
cc @mhamiltonj
Edited by Lukas Emberger