In Chapter 2, Working with Pandas DataFrames, we worked on data collection and how to perform an initial inspection and filtering of the data; this usually gives us ideas of things that need to be addressed before we move further in our analysis. Since this chapter builds on those skills, we will get to practice some of them here as well. To begin, we will start by exploring the weather API that's provided by the NCEI. We will learn about data wrangling with temperature data that's obtained from the API.
Collecting temperature data
To use the API, you will have to request a token by filling out the form with your email address here: https://www.ncdc.noaa.gov/cdo-web/token. If you don't want to do this, you can read through the API code and ...
Get Hands-On Data Analysis with Pandas now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.