Path: blob/master/07_Visualization/Titanic_Desaster/Solutions.ipynb
547 views
Kernel: Python 2
Visualizing the Titanic Disaster
In [80]:
Step 2. Import the dataset from this address
Step 3. Assign it to a variable titanic
In [23]:
Out[23]:
Step 4. Set PassengerId as the index
In [22]:
Out[22]:
Step 5. Create a pie chart presenting the male/female proportion
In [24]:
Out[24]:
Step 6. Create a scatterplot with the Fare payed and the Age, differ the plot color by gender
In [67]:
Out[67]:
(-5, 85)
Step 7. How many people survived?
In [68]:
Out[68]:
342
Step 8. Create a histogram with the Fare payed
In [93]:
Out[93]:
BONUS: Create your own question and answer it.
In [ ]: