Hacker News new | ask | show | jobs
by data-ottawa 458 days ago
Why are you trying to test and compose notebooks? Notebooks don't really fit into that lifecycle of work, they're implicitly script-like code.

Any time a notebook needed to be tested, refactoring it into a module and testing that was the better choice.

Notebooks in my opinion are by far the best tool for interactive and exploratory data work. I've been using Jupyter/IPython for 10 years and it takes very little discipline to keep them clean and clear. I've never bothered trying to deploy them in any meaningful way.

The quirks with version control are annoying, that's one reason I've switchex to marimo in the last few months.