fix example code issue in clustering course readme

pull/699/head
cutePanda123 2 years ago
parent 66f57d6924
commit 96e9554439

@ -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