Fix 5-1 df.corr() call to match 2.0 default parameters

pull/739/head
Maik Fruhner 7 months ago committed by GitHub
parent 8ef250efe0
commit 26528ebce2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -258,7 +258,7 @@ Note, when the top genre is described as 'Missing', that means that Spotify did
1. Do a quick test to see if the data correlates in any particularly strong way: 1. Do a quick test to see if the data correlates in any particularly strong way:
```python ```python
corrmat = df.corr() corrmat = df.corr(numeric_only=True)
f, ax = plt.subplots(figsize=(12, 9)) f, ax = plt.subplots(figsize=(12, 9))
sns.heatmap(corrmat, vmax=.8, square=True) sns.heatmap(corrmat, vmax=.8, square=True)
``` ```

Loading…
Cancel
Save