Read data from file
The data you will work with now includes additional columns about the environment like humidity and air pressure. All data can be consumed seperately from the public API, and I've gathered, combined and stored 3 months for this course.
After having acquired and saved the data to disk, you should have a look at what was actually downloaded and stored.
You'll now load the data from CSV and JSON, print the head and look at the DataFrame summary.
Cet exercice fait partie du cours
Analyzing IoT Data in Python
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
import pandas as pd
# Read file
df_env = ____(____, parse_dates=[____])
# Print head
print(____)
# Print DataFrame info
print(____)