I have a dataframe.I am using aggregate function on few of the columns of dataframe but i am getting the error as "cannot coerce class ‘"function"’ to a data.