Resolved! Caveats when importing functions from REPO stored .py files
The ability to import .py files into notebooks looked like a clean and easy way to reuse code and to ensure all notebooks are using the same version of code. However, two items remain unclear after scouring documentation and forums.Are these the rig...
- 3867 Views
- 4 replies
- 0 kudos
Latest Reply
"does not have access to the spark session by default" yes, that is correct you need to pass the reference to the spark variable inside Class or Function, something like when you call from notebook function_from_file(spark=spark)displayHTML() is desi...
- 0 kudos