Titanic survival rate
The sinking of the Titanic is one of the most infamous shipwrecks in history. While there was some element of luck involved in surviving, it seems some groups of people were more likely to survive than others. In this homework, you will perform descriptive analyses to provide insights about which types of passengers are more likely to survive. The data can be found on Blackboard, and the definition for each column is shown in the following table:

- Calculate the average survival rates by pclass, sex, sibsp, parch, and embarked.
- Bucket the data by age quartiles and fare quartiles to calculate the average survival rate for each quartile and plot the result as a bar plot.
- Calculate the correlation between the survival column and the rest of the columns. What are top 3 most important attributes to determine the likelihood of survival?
Answer:
Titanic Survival Prediction
Importing necessary libraries

Read Data Into Pandas Dataframe





Let's look at all the columns in the data
