Session Ready
Exercise

Plot interpolations

Plotting comparative graphs for the imputations is essential for inferring the best imputation technique. In this exercise, you'll create a for loop for generating plots for multiple imputation techniques. You will create the plots of the imputations you completed in the previous lesson which were the linear, quadratic, and nearest interpolation techniques.

Three DataFrames named after their respective imputation techniques linear, quadratic, and nearest have been already imported for you.

Instructions
100 XP
  • Create 3 subplots for each plot, using 3 rows and 1 column.
  • Create the interpolations dictionary by mapping each DataFrame to the corresponding interpolation technique.
  • Loop over axes and interpolations.
  • Select each DataFrame in interpolations and set the title for a DataFrame using df_key.