Question: Use Python (pandas) to solve it The data stored in the file passangers.csv contains the passenger information of the ship Titanic, sunk in 1912. In
Use Python (pandas) to solve it
The data stored in the file passangers.csv contains the passenger information of the ship "Titanic", sunk in 1912. In the file, each row refers to a particular passenger on the Titanic. The columns give you specific information about each passenger.
Write a code to answer the following questions:
1. Determine how many people died. 2. Determine from the survivors, how many were from 1,2 class. 3. Determine how many men and how many women survived the disaster 4. Determine how many children at or under the age of 15 survived the disaster, and how many children were present total. 5. The SibSp and Parch attributes tell us the number of siblings/spouses and parents/children each passenger had on board. Create a new column in the DataFrame called Family that indicates how many siblings/spouses/parents/children a passenger was traveling with. Then report how many people survived that were traveling with 3 or more family members.
Data example:

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
