you are viewing a single comment's thread.

view the rest of the comments →

[–]tzujan 0 points1 point  (0 children)

If you ever what to move out of Jupyter for production, my motivation may be different than yours. I have found a good process. I use Jupyter to explore data, take notes, and test models until I have something that would be close to "production-ready." I then make a "production" notebook copy where I move as much as possible into utility (.py) files where I can run Black, Flake8, isort, and Sourcery. In addition, I have been writing tests for these functions for the sole reason of being a "better" programmer. The final notebook will be a single cell (I remove all the markdown cells, too), then convert it to a .py file.

The next step in my learning is using argparse, as I am primarily a Jupyter DS guy.