Search code examples
python-3.xjupyter-notebookipythonkedrodata-pipeline

How to run a kedro pipeline interactively like a function


I would like to run kedro pipelines in jupyter notebook with different inputs, so something like this:

data = catalog.load('my_dataset')
params = catalog.load('params:my_params')
pipelines['my_pipeline'](data=my_dataset, params=my_params)

Is there a way to do this? Also, if I have to feed some inputs to other nodes but the starting one (for example the second node), how would this be done?


Solution

  • We actually have a native way to use Kedro in notebook environments, check out the docs here.