C is a Data series with shape of (10000000, ) with dtypes of dtype(< M8[ns]). I want to create a dataseries which only contain one hour of C.
c.between_time('22:00:00','23:00:00')
This is the error that I get
TypeError: Index must be DatetimeIndex
How should I fix it?