I am migrating my python code from Jupiter notebook to databricks notebook. But lots of things don\'t work as it is.
The below code works properly in Jupyter notebook but