Question: Task You will study the dataset called nycflights 1 3 . It gives information about all 3 3 6 , 7 7 6 flights that
Task
You will study the dataset called nycflights It gives information about all flights that departed
in from the three New York in the US airports EWR JFK and LGA to destinations in the United
States, Puerto Rico, and the American Virgin Islands.
Download the following data files from our unit site Learning Resources Data:
nycflightsflights.csvgz flights information,
nycflightsairlines.csvgz decodes two letter carrier codes,
nycflightsairports.csvgz airport data,
nycflightsplanes.csvgz plane data,
nycflightsweather.csvgz hourly meteorological data for LGA, JFK and EWR.
Refer to the comment lines in the CSV files note that they are gzipped for more details about each
column.
You aim is to use pandas to come up with results equivalent to those that correspond to example SQL
queries.
Establish a connection with a new SQLite database on your disk.
Export all the CSV files to the said database.
For each of the SQL queries below each query in a separate section write the code that yields
equivalent results using pandas only and explain in your own words what it does.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
