Forum Discussion
smpa01
2 years agoCommunity Champion
Sharing variables between languages
Does anyone know how can I pass on a python variable to a js execution from one cell to another.
E.g.
Also, how can I pass on the the result of js execution to a succeeding python ...
frithjof_v
2 years agoCommunity Champion
I have no experience with, and have not heard about, using %%javascript before.
Perhaps you could use a Lakehouse file to read/write from?
When switching between spark.sql() (PySpark) and %%sql (SparkSQL) cells I have been able to use temporary views.