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.

Creating plots

Creating plots

- Let's bring out some visual Vibes. As we move away from modeling and towards explaining the relationship between variables, we need to think about ways that we can visualize those relationships. Since our target is binary, we can't use scatter plots. Instead, we can use ridge plots for numeric features. Let's get our Vibe coding assistant ready. Let's get our Vibe coding assistant ready. Read the song's joint CSV file and create ridge line charts with genre as the target and using the values of sentiment. Let's move this over to our Editor and see what it's done. It looks like it's recommended that we use the Joy-Pi package. It's a common package that's commonly used to make these ridge line charts. I don't think we have it currently installed, so let's install it first. I will pip, install, Joy-Pi. Go back to our code. Let's go back to our code and run through it. We'll read our data frame. And there we have a ridge line chart of sentiment by genre. Not only are these ridge line…

Contents