Step 1
Age of the passengers
Describe the age of the passengers (column vek). The table df is already loaded.
- Store the number of passengers with known age in
n_vekand the proportion of passengers whose age is missing inpodiel_chyba. - Store the mean, median and mode of age in
priemer_vek,median_vekandmodus_vek(the mode as a single number).
The output appears after you run the code.
Run the code and fix the errors until all checks pass.