课程: Hands-On Advanced Python: Data Engineering Basics
The sample weather data set - Python教程
课程: Hands-On Advanced Python: Data Engineering Basics
The sample weather data set
- [Instructor] Let's take a look at the dataset that we'll be using for this course. The data is contained in a file named sample-weather-history.json and it's located in the top level folder of the example files. So when I open this file, you can see that it's a big array of json data objects, each of which contains some data about the weather of a particular day for a particular location. There's a field for the date as well as for the min and max temperatures for that day, and by the way, these are all in the Fahrenheit scale, followed by the precipitation for that day in inches along with the snowfall and amount of snow already on the ground, again in inches, and the average wind speed for the day in miles per hour. So the dataset is fairly large. You can see that it encompasses about five and a half years of data and the data structure itself is relatively simple. So we're going to be using this weather information throughout the course to perform all kinds of data operations. So just take a few moments to look through the dataset and familiarize yourself with it.