Question: USE PYTHON PROGRAMMING LANGUAGE For this assignment, we will analyze the open dataset with data on the passengers aboard the Titanic. The data file can
USE PYTHON PROGRAMMING LANGUAGE
For this assignment, we will analyze the open dataset with data on the passengers aboard the Titanic.
The data file can be downloaded from https://www.dropbox.com/s/jomv6vba8amicm8/train.csv?dl=0 train.csv.

Read the data from the file into pandas DataFrame. Analyze, clean and transform the data to answer the following question:
What categories of passengers were most likely to survive the Titanic disaster?
Question 1.
- The answer to the main question - What categories of passengers were most likely to survive the Titanic disaster?
- The detailed explanation of the logic of the analysis
you can use pandas plot() function to create graphs, bar charts and other visualizations
https://pandas.pydata.org/pandas-docs/stable/user_guide/visualization.html#basic-plotting-plot
Data Dictionary Variable survival pclass Definition Survival Ticket class Key 0 No, 1- Yes 1 1st, 2 2nd, 3 = 3rd sex Age sibsp Sex Age in years # of siblings / spouses aboard the Titanic parch # of parents / children aboard the Titanic ticket Ticket number fare Passenger fare cabin Cabin number C Cherbourg, Q Queenstown S Southampton embarked Port of Embarkation Data Dictionary Variable survival pclass Definition Survival Ticket class Key 0 No, 1- Yes 1 1st, 2 2nd, 3 = 3rd sex Age sibsp Sex Age in years # of siblings / spouses aboard the Titanic parch # of parents / children aboard the Titanic ticket Ticket number fare Passenger fare cabin Cabin number C Cherbourg, Q Queenstown S Southampton embarked Port of Embarkation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
