Autocast data / flags indices to pd.DateTime
...and fail hard if autocast doesn't work
But accept other indices as wel. Try to_datetime(index)
if fails leave untouched, however accept RangeIndex
.
Edited by David Schäfer
...and fail hard if autocast doesn't work
But accept other indices as wel. Try to_datetime(index)
if fails leave untouched, however accept RangeIndex
.