Answered step by step
Verified Expert Solution
Question
1 Approved Answer
we will use LaqnData.csv for this exercise. each row of this dataset shows an hourly measurement recording of one of the following five air pollutants:
we will use LaqnData.csv for this exercise. each row of this dataset shows an hourly measurement recording of one of the following five air pollutants: NO NO NOX, PM PM The data was collected in a location in london for the entirety of the year read the data using Pandas and perform the following tasks:
a the data has six columns. three of them, named "Site', 'Units', and 'Provisional or ratified' are not adding any informational values as they are the same across the whole dataset. Use the following code to drop them. airdfdropcolumnsSite'Units','Provisional or Ratified' inplaceTrue
b the dataset is in a long format. Apply the appropriate function to switch it to the wide format. Name the transformed Dataframe pvtdf
c draw and study the histogram and boxplots for columns of pvtdf
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started