I have a dataframe where for each Unique Date, I\'m running a fucntion and the result is placed in a new column.
But I\'m getting the following error