Download the nycflights 1 3 _ weather.csv . gz data file from our unit site ( Learning
No answer yet for this question.
Ask a Tutor
Question:
Download the nycflightsweather.csvgz data file from our unit site Learning Resources Data
It gives the hourly meteorological data for three airports in New York: LGA, JFK and EWR for the whole
year of The columns are:
origin weather station: LGA, JFK or EWR,
year, month, day, hour time of recording,
temp, dewp temperature and dew point in degrees Fahrenheit,
humid relative humidity,
winddir, windspeed, windgust wind direction in degrees speed and gust speed in mph
precip precipitation, in inches,
pressure sea level pressure in millibars,
visib visibility in miles,
timehour date and hour based on the year, month, day, hour fields formatted as YYYYmmdd HH:MM:SS actually YYYYmmdd HH:: However, due to a bug in the dataset, the data in this
column are incorrectly shifted by hour. Do not rely on it unless you manually correct it
Then, create a single JupyterIPython notebook see the Artefacts section below for all the requirements
where you perform what follows.
Convert all columns so that they use metric International System of Units, SI or derived units:
temp and dewp to Celsius, precip to millimetres, visib to metres, as well as windspeed and
windgust to metres per second. Replace the data inplace overwrite existing columns with new
ones
Compute daily mean wind speeds for the LGA airport ~ total speed values, for each day separately; you can, for example, group the data by year, month, and day at the same time
Present the daily mean wind speeds at LGA ~ aforementioned data points in a single plot, eg
using the matplotlib.pyplot.plot function. The xaxis labels should be humanreadable and
intuitive eg month names or dates Reference result:
Related Book For
Posted Date: