Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cgpu/97d148249c0df6bd8032b61c9eea694c to your computer and use it in GitHub Desktop.
Save cgpu/97d148249c0df6bd8032b61c9eea694c to your computer and use it in GitHub Desktop.
executing papermill using its Python API
import papermill as pm
pm.execute_notebook('weather_forecast_using_pyowm.ipynb',
'weather_forecast_using_pyowm_output.ipynb',
parameters={'city':'Sao Paulo,BR'},
kernel_name='papermill-tutorial')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment