3 Comments
User's avatar
Aditya Garg's avatar

A small project created on the basis of the code provided in the post:

https://github.com/AdityaGarg1995/TinyProjects/blob/main/Data%20Reporters/Titanic%20Dataset%20Reports%20Creator/Titanic_Dataset_Reports_Creator_Streamlit.py

I have added bar graphs for Survival Metrics based Passenger Class, Sexes, and Embarking Ports.

Please note that streamlit's own graphs only have a vertical text orientation for x-axis labels. So alternate libraries like altair, seaborn or matplotlib are required. My codebase uses Altair.

Expand full comment
Aditya Garg's avatar

Thank you Mr. Kindred for this wonderful post and project idea for programmers and data analysts alike.

Leaving the below information for any interested readers:

* inplace=True is deprecated in pandas, and will no longer work after future releases. Hence, please assign the values to dataframes rather than using inplace argument

* Different sources have different Titanic Datasets. The one used here seems to be from https://github.com/datasciencedojo/datasets/blob/master/titanic.csv or other similar source.

Stanford University provides a different Titanic Dataset.

Expand full comment
Mark R Metzger's avatar

Thank you Mr. Kindred!

Expand full comment