Forum Discussion
Need to pass multiple values as parameters in notebook by using pyspark
- 2 years ago
Here's a really simple example.
In your parent notebook you would set a dictionary from a list of keys/values, then you would call the child notebook (Notebook 1) in this case by passing in that dictionary as a parameter. You could then do anything you want with the values coming in.
Parent Notebook:
Notebook 1:
Make sure to set the companylist as a parameter
Results:
Here's a really simple example.
In your parent notebook you would set a dictionary from a list of keys/values, then you would call the child notebook (Notebook 1) in this case by passing in that dictionary as a parameter. You could then do anything you want with the values coming in.
Parent Notebook:
Notebook 1:
Make sure to set the companylist as a parameter
Results: