始める無料で始める

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.

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

Analyzing IoT Data in Python

コースを見る

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

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

# Convert the timestamp
____ = ____

# Print datatypes and first observations
print(df.dtypes)
print(df.head())
コードを編集して実行