進行 EDA

使用 Python 分析 IoT 資料

Matthias Voppichler

IT Developer

繪製 DataFrame

df.plot(title="Environment")

繪製後的資料集,雜訊很多

使用 Python 分析 IoT 資料

折線圖

df[["temperature", "humidity"]].plot(title="Environment")
plt.xlabel("Time")

僅繪製 temperature 與 humidity

使用 Python 分析 IoT 資料

次要 y 軸

plt.ylabel('Temperature')
df[["temperature", "pressure"]].plot(title="Environment", secondary_y="pressure")
plt.ylabel('Pressure')

壓力與溫度的圖,Pressure 在次要 y 軸

使用 Python 分析 IoT 資料

直方圖基礎

直方圖

使用 Python 分析 IoT 資料

直方圖

df.hist(bins=20)

多個直方圖,呈現資料分佈

使用 Python 分析 IoT 資料

一起來練習吧!

使用 Python 分析 IoT 資料

Preparing Video For Download...