Replies: 1 comment 1 reply
|
I should point out that the More generally, why does the time series not support non-unique values for the index, which is a time index? It is perfectly possible (and valid it seems to me) for the time index to occur in different series in the dataset. Of course if it occurs more than once in the same series, that might be a problem. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have a
timeindex in my dataframe, but I have been getting non-unique problems on this index.The
timecomes from the database in UNIX Epoch with nanosecond precision, so I am artificially adjusting it like this:This has got me over the unique hurdle, but now in
/pandas/tseries/frequencies.py, the following returnsNone, which is causing the frequency calculation to fall over:I've only been doing Python a few weeks 🤣 so I'm not sure which bit I should be addressing. Should I be working to get this to be
True, or am I thinking about creating thisPandasDatasetin the wrong way?All reactions