Types of relationships
How do we effectively identify these relationships in practice? The first and often only step you need, is to visualize the data using a scatter plot. In this exercise, you'll examine a few different relationships, produce the scatter plot, and then consider what each plot tells us about the relationship.
You'll work with a few different features in the Australian weather dataset from before, imported as weather
for you to use. For the sake of this exercise, make sure you pass features in the order they are given to you!
This exercise is part of the course
Practicing Statistics Interview Questions in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Display a scatter plot and examine the relationship
plt.scatter(____, ____)
plt.show()