data.groupby(data.date.dt.year)
df.groupby([(df.Date.dt.month),(df.Date.dt.day)])
max_temp = dfall.groupby([(dfall.Date.dt.month),(dfall.Date.dt.day)])['Data_Value'].max()
df['date_minus_time'] = df["_id"].apply( lambda df :
datetime.datetime(year=df.year, month=df.month, day=df.day))
df.set_index(df["date_minus_time"],inplace=True)