Heatmaps
You're going to keep working with the environmental dataset from the previous lessons. However, it now contains 3 additional columns about a river's water-status in the same geographic area.
The additional columns are:
- flow-rate in m3/s
- water-level in cm
- water-temperature in °C
You'll now try to find correlations between the columns.
pandas as pd
, seaborn as sns
and matplotlib.pyplot as plt
have been imported for you.
This exercise is part of the course
Analyzing IoT Data in Python
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Calculate correlation
____
# Print correlation
print(____)