Mulai sekarangMulai gratis

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.

Latihan ini merupakan bagian dari kursus

Analyzing IoT Data in Python

Lihat Kursus

Latihan interaktif langsung praktik

Cobalah latihan ini dengan melengkapi kode contoh ini.

# Calculate correlation
____

# Print correlation
print(____)
Edit dan Jalankan Kode