Exercises
- This question is about the difference between dataset reformulation and dataset restructuring. Answer the following questions:
a) In your own words, describe the difference between dataset reformulation and dataset restructuring.
b) In Example 3 of this chapter, we moved the data from
month_df
topredict_df
. The text described the level II data cleaning for both table reformulation and table restructuring. Which of the two occurred? Is it possible that the distinction we provided for the difference between table restructuring and reformulation cannot specify which one happened? Would that matter? - For this exercise, we will be using
LaqnData.csv
, which can be found on the London Air website (https://www.londonair.org.uk/LondonAir/Default.aspx) and includes the hourly readings of five air particles (NO, NO2, NOX, PM2.5, and PM10) from a specific site. Perform the following steps for this dataset:a) Read the dataset into
air_df
using pandas.b) Use the
.unique()
function...