melting of time-series #6434
Labels
Algos
Non-arithmetic algos: value_counts, factorize, sorting, isin, clip, shift, diff
Datetime
Datetime data dtype
Dtype Conversions
Unexpected or buggy dtype conversions
Reshaping
Concat, Merge/Join, Stack/Unstack, Explode
Milestone
I have a standard DataFrame indexed by
and 189 columns named like this:
Why is it that the following melt operation creates a KeyError:
but if I reset_index() first it works:
I am aware that the time-index will become non-unique after
melting
, but shouldn't this actually work? Or maybe it is a feature request that theid_vars
accepts a DatetimeIndex as input?The text was updated successfully, but these errors were encountered: