BaşlayınÜcretsiz Başlayın

Line plots

Plotting the series is an important step in the analysis process since it gives you an overview of how the data actually looks and allows us to identify trends and patterns easily.

You'll be plotting some line graphs using pandas .plot() method now.

pandas as pd and matplotlib.pyplot as plt have been imported for you.

Bu egzersiz

Analyzing IoT Data in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

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

# Create a line plot
df[cols].____(____)

# Label X-Axis
plt.____(____)

# Show plot
plt.show()
Kodu Düzenle ve Çalıştır