Exercise

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.

Instructions 1/2

undefined XP
  • 1

    Convert the column "ts" to datetime, without additional argument to the conversation call.

  • 2

    Notice that the previous solution did provide the timestamps in the 1970s. Convert the column correctly now.