Filtering Pandas DataFrames on dates
You could just select the time range by doing: df.loc['start_date':'end_date']
I have a Pandas DataFrame with a 'date' column. Now I need to filter out all rows in the DataFrame that have dates outside of the next two months. Essentially, I only need to retain the rows that are within the next two months. 
What is the best way to achieve this?