Improving on code in Jupyter Notebooks

Jessica YungData ScienceLeave a Comment

not-sure-if-refactoring

Here’s a better organised version of the code I posted yesterday predicting survival of passengers in the Titanic dataset. I made three changes: Structured code Modularised code Removed unnecessary code 1. Structured code: Added numbered section headings. Section headings help provide context for the code that follows, allow the reader to have a feel for what is going on by skimming … Read More