Parameterize a notebook

SarahDorich
New Contributor II

I was wondering if there's a way to parameterize a notebook similar to how the Papermill library allows you to parameterize Jupyter notebooks?

Anonymous
Not applicable

@Sarah Dorich​ - My name is Piper and I'm one of the moderators for Databricks. Thank you for asking! Let's give the community a while to respond or we'll circle back to this later. 🙂

-werners-
Esteemed Contributor III

you can try with widgets:

https://docs.databricks.com/notebooks/widgets.html

Not exactly the same as Papermill but it works fine. You can pass the values from your job orchestration tool into a widget so the notebook gets executed with the correct values.

I use this a lot with Azure Data Factory.

View solution in original post