I selected the date range for my dataset using this post. But now there seems to be an abnormality in my data when I use pandas groupby and sum, there seems to be missing data.
The date b/w 2020-04-07 to 2020-04-12 is missing and those date data are being added to 2020-04-06
Code:
covid19India['Date'] = pd.to_datetime(covid19India['Date'],infer_datetime_format=True)
covid19India_new= covid19India[(covid19India['Date'] >= '2020-03-25') & (covid19India['Date'] <= '2020-05-31')].sort_values('Date')
df1=covid19India_new.groupby('Date').sum()
df1.reset_index(inplace=True)
df1.head(20)