I am running a jupyter notebook script using Papermill's python client. While running, I want to specify the kernel. However, the script ran within the same kernel as my active python shell(through which I made the API call to papermill in order to run the notebook's script).
I tried looking in the documentation(https://papermill.readthedocs.io/en/latest/usage-execute.html#execute-via-the-python-api) but in vain.
import papermill as pm
pm.execute_notebook( 'dfnjofnei.ipynb', 'dfnjofnei_output.ipynb' )
Not sure if this is too late now, but you can check this:
papermill {input_path} {output_path} -k {kernel_name}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With