Created
October 29, 2021 14:16
-
-
Save mickaelandrieu/e601be91a505a23ffc9517490ec303e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
df = pd.read_csv('https://raw.githubusercontent.com/ageron/handson-ml/master/datasets/housing/housing.csv') | |
corr = df.corr() | |
corr.style.background_gradient(cmap='RdBu', vmin = -1, vmax = 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment