-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DataFrame with DatetimeIndex is shown as RangeIndex #196
Comments
So in order to get this to work correctly you would have to updated your code to this:
The problem is that on startup it doesn't maintain indexes because it would be too hard to keep track of. So it runs The best option I can offer other than the code fix above is that I can check to see if the index on the dataframe is not But the best solution is to just include a name on any index column that isn't "index". Hope this helps! |
I think that alternative would be great, but while this workaround is enough for me. Thank you very much! |
I think it would be better to do the following check instead of
|
Added v1.8.12 |
When I try to show a DataFrame that has an index of type DatetimeIndex, in dtale it is shown as a RangeIndex.
It would be very useful to display that DatetimeIndex.
Sample code:
The text was updated successfully, but these errors were encountered: