Papermill is makes it easy to parameterize and execute Jupyter notebooks. Papermill can be used to generate workflow-like behavior using notebooks -- this makes it really powerful as a tool for automating basic data science pipelines.
Papermill may also be used to programmatically execute entire notebooks!
First we'll need to launch Jupyter from the Gradient Notebook IDE. Once the notebook is running, look for the Jupyter icon in the left sidebar.
Once Jupyter launches, the first step to use Papermill is to install the package via <inline-code>!pip install papermill</inline-code>.
The next step is typically to parameterize a notebook using tags.
To enable tags, select View > Cell Toolbar > Tags.
Next we'll add a tag called <inline-code>parameters</inline-code>:
Now that we've created a parameter, we can run this notebook and pass in the parameter values of our choosing!
That's all there is to it! For more information on using Papermill, be sure to read the docs.