I have time a series datasets. I can select data from march to may by this code:
df[(df.index.month >=3) & (df.index.month<=5)]
But the problem is how to select the data from march-15
to may-15
?
Any help will be highly appreciated.
and my dataframe looks like:
2000-02-25 0.01
2000-02-26 0.03
2000-02-27 1.0
2000-02-28 1.52
2000-02-29 0.23
2000-03-01 0.45
2000-03-05 2.15
2000-03-06 1.75
.................
.................