In this task, we are working with a dataset containing information about students. The dataset has three columns: year represents a student's year of study, degree represents their degree program, and age represents their age.
You must perform the following steps:
Load the data into a
pandasDataFrame.Delete all the rows that contain missing values from the dataframe.
Print the number of rows in the initial dataframe and in the modified dataframe (after deleting the rows with missing values).
Copy the result (the number of rows in the initial and modified dataframes) to the answer section, ensuring that it follows the format shown in the example.
Hint
The number of rows can be accessed via the .shape[...] attribute of the dataframe. Additionally, review the How to deal with them? section of the theory.