I have the following dataset where the index is DatetimeIndex and the column "value" is made of floats. The index: creationDate contains only information of the day 2020-06-13.
df
df[df.index.duplicated()]
The day is the same but not the hour or the minute, so I'm confused of what is happening here, is it only filtering by day? but why those exact values from the dataset? Is there any way to filter by hour? Or creating a DatetimeIndex only by hour/minute/second ? Thanks!
I know I can convert it to a string and then use it only the hour/minute/second information, but will this remove the possibility to create the DatetimeIndex aswell?