We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, in 02_end_to_end_machine_learning_project.ipynb:
'''corr_matrix = housing.corr()'''
How the dataframe was copied to housing, and don't drop column "ocean_proximity", the function corr() is with error. So I drop the column temporarily!
The text was updated successfully, but these errors were encountered:
This is due to a recent change: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.corr.html (cf. numeric_only parameter)
numeric_only
You can use
corr_matrix = housing.corr(numeric_only=True)
instead.
HTH
Sorry, something went wrong.
Thanks for this. It was driving me nuts!
No branches or pull requests
Hi, in 02_end_to_end_machine_learning_project.ipynb:
'''corr_matrix = housing.corr()'''
How the dataframe was copied to housing, and don't drop column "ocean_proximity", the function corr() is with error.
So I drop the column temporarily!
The text was updated successfully, but these errors were encountered: