You are required to answer a number of questions related to data preparation and cleaning. In case the question is related to coding, you are required to use the functions provided in the library pandas to answer the question. (a) List four tasks that you are required to perform during the data preparation step.
You are required to answer a number of questions related to data preparation and cleaning. In case the question is related to coding, you are required to use the functions provided in the library pandas to answer the question.
(a) List four tasks that you are required to perform during the data
preparation step.
(b) Suggest two ways of handling missing data and name the corresponding function provided in the library pandas that can perform the task.
(c) Suggest three tasks you may have to perform during data transformation. Name the corresponding function provided in the library pandas that can perform each of the suggested tasks.
(d) Name the function that can create a boolean mask on whether the
element in a pandas Series is a duplicated entry.
Step by step
Solved in 2 steps