I have a dataFrame data. After grouping and resetting the index, I am not able to set my Date column as Index.
data = data.groupby(\'Payment