1. Learn
  2. /
  3. Courses
  4. /
  5. Analyzing IoT Data in Python

Connected

Exercise

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.

Instructions 1/3

undefined XP
    1
    2
    3
  • Calculate the correlation from data and assign it to corr.
  • Print the correlation you just calculated.