From what I understand the numeric_only
argument is deprecated in the corr()
function, so that it is set to false. I have a dataset and some of the columns aren't numeric, so that I want to to have correlation of only the these numeric columns. However when I write corr(numeric_only = True)
I get this type error,
TypeError: corr() got an unexpected keyword argument 'numeric_only'
Tried other solutions and checking the documentation