Data Science, Jupyter Notebook, Python, Deep Dives, Tips And Tricks.
structure with a few lines of code in its body, it’s ok to leave it in the notebook, but if it’s more than one control structure with many lines in its body, it’s best to create a function, even if you’re using it only once, then call it in your notebook. A clean notebook is effectively a series of