MulaiMulai sekarang secara 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 adalah bagian dari kursus

Analyzing IoT Data in Python

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Calculate correlation
____

# Print correlation
print(____)
Edit dan Jalankan Kode