Last answered:

19 Sept 2023

Posted on:

19 Sept 2023

0

categorical data in correlation matrix?

I'm getting an error for categorial data being in the df_agg dataset and the correlation matrix is not able to be created with the code shown. Anyone else having this error?

1 answers ( 0 marked as helpful)
Posted on:

19 Sept 2023

0

Answered my own question somewhat. There is a total row that is counting as a string. I did df_agg.drop(index=0) and was able to run the matrix. But wasn't able to make it last to run the next line.


Submit an answer