Best practices for turning jupyter notebooks into python scripts
Life saver: as you’re writing your notebooks, incrementally refactor your code into functions, writing some minimal assert tests and docstrings. After that, refactoring from notebook to script is natural. Not only that, but it makes your life easier when writing long notebooks, even if you have no plans to turn them into anything else. Basic … Read more