Здравствуйте, я пытаюсь нарезать временные ряды, но не получаю правильный результат. Ниже приведен пример набора данных
Date TotalDays
2002-02-18 6
2003-02-19 6
2003-02-20 6
--------------------------
2020-01-2 6
Iam trying to select all the dates after 2009 and used following codes
df = df.iloc[2008-12-31:,:]
However iam getting
Date TotalDays
2002-02-18 6
2003-02-19 6
2003-02-20 6
Instead getting values from 2009. is there anyway to solve this. Thankyou