4 ms·
i mostly agree, but one way that i've found to make notebooks good/usable is this: - move all of the code out of the notebook and into a nearby python module w
by parpfish 2y ago
i mostly agree, but one way that i've found to make notebooks good/usable is this:
- move all of the code out of the notebook and into a nearby python module where it can be linted/mypy-d/version-controlled/code-reviewed easily
- tell the notebook to import that module and make a small number of function calls to get whatever data you need and make plots. at this point the notebook is really nothing more than a REPL with inlined plots/graphics
- youainti 2y agoThis is what I've found works the best as well.