I have four categorical columns In the following code.
Can I do a pivot with values (categorical column)?
df.pivot_table(index=['DATE','COUNTRY'],columns='METRIC',values='VALUE',dropna=True).reset_index()
I have the next error:
DataError: No numeric types to aggregate