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

Date and Time

You will now convert the timestamp column of the previously gathered data into a datetime object.

Since the timestamp gathered is in Epoch time, pandas provides a simple and useful method to convert this for us.

The data is loaded as df.

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.

# Convert the timestamp
____ = ____

# Print datatypes and first observations
print(df.dtypes)
print(df.head())
Kodu Düzenle ve Çalıştır