|
|
@ -258,7 +258,6 @@ 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
|
|
|
|
# Create a DF of only numeric columns
|
|
|
|
|
|
|
|
df_num = df.select_dtypes(include=['int64', 'float64'])
|
|
|
|
df_num = df.select_dtypes(include=['int64', 'float64'])
|
|
|
|
|
|
|
|
|
|
|
|
corrmat = df_num.corr()
|
|
|
|
corrmat = df_num.corr()
|
|
|
|