From the course: Vibe Coding for Data Analysts
Unlock this course with a free trial
Join today to access over 25,200 courses taught by industry experts.
Examining correlations
From the course: Vibe Coding for Data Analysts
Examining correlations
- Vibe coding is an excellent task for finding relationships, and finding relationships in data is a core task for analysts. Correlations are a great start to understanding those relationships. Let's dive right in so we can see what interesting relationships might be in our data. Let's dive right in so we can see what interesting relationships might be in our data. Show me the correlations between the numeric variables in the song's data. Fantastic. Let's keep this and see what we've got. Let's run through everything. It looks like it's imported some things for us like "Matplotlib" and "Seaborn". We'll be interested to see what that may end up doing for us. We've got a release week and Genre converted as we had done earlier, and it has used the corr function to produce our correlation matrix. Let's take a look and see what this produces for us. If we look at "corr", we'll see that we have one large correlation matrix, and, thankfully, what our Co-pilot has done for us is to turn that…