Open davidqwerty opened 8 months ago
When I run the code Smarket.corr(numeric_only=True) , I get the following warning: corr() got an unexpected keyword argument 'numeric_only'
Smarket.corr(numeric_only=True)
corr() got an unexpected keyword argument 'numeric_only'
There appears to be a solution:
Smarket = Smarket.select_dtypes(include='number') Smarket.corr()
This appears to achieve the intended result.
When I run the code
Smarket.corr(numeric_only=True)
, I get the following warning:corr() got an unexpected keyword argument 'numeric_only'
There appears to be a solution:
This appears to achieve the intended result.