I have a use case where my first notebook is taking values from synapse pipeline as a widget.I want to pass the output of this widget as an input to the dataframe which is present in my second notebook.
FIRST NOTEBOOK
dbutils.widgets.text("input", "","") //Input coming from synapse pipeline
"input": dbutils.widgets.get("input")
input = "/mnt/" + dbutils.widgets.get("input")
print(input)
SECOND NOTEBOOK
I want to use the input from first notebook to the second notebbok as show below.
% run FIRST NOTEBOOK
df = spark.read.csv(input)