Mulai sekarangMulai gratis

Histogram Plot

While it's important to know how the data looks, data distribution is equally important.

You can do this for the environmental dataset by plotting histograms.

pandas has been imported as pd, and matplotlib.pyplot as plt.

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.

cols = ["temperature", "humidity", "pressure", "radiation"]

# Create a histogram
df[cols].____(____)

# Label Y-Axis
plt.____(____)

# Show plot
plt.show()
Edit dan Jalankan Kode