Suppose my data looks like:
data = {'Date':['2019-07-06', '2019-08-04', '2019-07-05', '2019-08-06'], 'Attending Cost': [1, 1, 1, 1]}
data_2 = pd.DataFrame.from_dict(data)
I want to select from it all the data that is between 2019-08-04 and 2019-08-06 inclusive. More generally, I have data arranged by month, and I want to select all data from one particular month. However, I have some outliers in my data which is not from that month but it is sitting in between them. I want to include these outliers in my selections as well. Note also within one month the date is not ordered. How should I achieve this?