#100DaysOfCode in Python Transcripts
Chapter: Days 37-39: Using CSV data
Lecture: Our data
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
For the learning section of today,
0:01
what we're going to do is we're going to write an app
0:03
that takes a CSV file, and answers a
0:05
set of questions around it.
0:08
The data that we're going to use is
0:10
from the 538 data set, data/us-weather-history.
0:16
It's not very clear what this means,
0:17
but this is the weather history from different cities.
0:20
You can even actually see here's the
0:22
the data that they,
0:24
the code that they used to visualize it.
0:26
Here's the web scraping, they go to Wunderground
0:29
which is the weather site to get the data, pretty awesome.
0:32
So we're going to use this data set,
0:33
this is the Seattle weather data
0:36
for 2014 and 2015, I believe.
0:39
Yeah, there's the dates right there.
0:41
This should look familiar, right?
0:42
Date, actual mean, actual man, actual temp and so on.
0:45
So we're going to take this data and
0:47
we're going to work with it.
0:48
Now, let's make sure we start with the raw,
0:51
we do not want GitHub html, you want the raw.
0:54
So we're going to save this.
0:55
And I'll just save this as seattle.csv.
0:59
Now let's go write some code to work with this data file.