Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

Analyzing IoT Data in Python

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Calculate correlation
____

# Print correlation
print(____)
Code bewerken en uitvoeren