Select dataframe rows between two dates,df['date'] = pd.to_datetime(df['date'])