From 26528ebce2b0ac371ca1d5e435bd5d70086071ec Mon Sep 17 00:00:00 2001 From: Maik Fruhner Date: Mon, 27 May 2024 08:52:47 +0200 Subject: [PATCH] Fix 5-1 df.corr() call to match 2.0 default parameters --- 5-Clustering/1-Visualize/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5-Clustering/1-Visualize/README.md b/5-Clustering/1-Visualize/README.md index cbff4726..88fcd372 100644 --- a/5-Clustering/1-Visualize/README.md +++ b/5-Clustering/1-Visualize/README.md @@ -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: ```python - corrmat = df.corr() + corrmat = df.corr(numeric_only=True) f, ax = plt.subplots(figsize=(12, 9)) sns.heatmap(corrmat, vmax=.8, square=True) ```