Hmm, I’ve never tried executing a notebook within a notebook, but I’ve heard `papermill` is the go-to tool for this. It’s designed specifically for running and parameterizing notebooks, so it might be worth a shot.
Another option is to use `jupyter_client` to spin up a kernel and run the notebook programmatically. It’s a bit more low-level, but it gives you full control over the execution process.
If you’re looking for a quick fix, you could also export the notebook as a Python script and run it using `exec()`. Not the most elegant solution, but it gets the job done.
Good luck with your workflow!
Another option is to use `jupyter_client` to spin up a kernel and run the notebook programmatically. It’s a bit more low-level, but it gives you full control over the execution process.
If you’re looking for a quick fix, you could also export the notebook as a Python script and run it using `exec()`. Not the most elegant solution, but it gets the job done.
Good luck with your workflow!
