Search⌘ K

Challenge 2: Investigate the Titanic Dataset

Explore how to investigate the Titanic dataset using Python and its libraries. Learn to inspect data size and types, manage missing values, group data by passenger class, extract titles from names, and visualize relationships between age, fare, and survival status.

Use Python and its libraries in this challenge to investigate the Titanic dataset. You’ll perform the following tasks.

Task 1: Understand the data

We’ve already loaded the Titanic dataset for you using pandas. To complete this task, perform the following operations:

  1. Display the size of the dataset.

  2. Display the last five rows.

  3. Display the data type of each column of the dataset. ...