始める無料で始める

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.

この演習はコースの一部です

Analyzing IoT Data in Python

コースを見る

実践的なインタラクティブ演習

このサンプルコードを完成させて、この演習に挑戦してみましょう。

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

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

# Label Y-Axis
plt.____(____)

# Show plot
plt.show()
コードを編集して実行