How can I solve this Typeerror?
I am working on my first Full Machine Learning, I am now trying to process raw data, to transform it to supervised learning.
In one of the steps, in order to resamble the data : I have used the resamble, then the apply method and passed The sampling dictionary specifies aggregation functions for different columns.
as the following :