I was trying to run the below code in pyspark.
dbutils.widgets.text('config', '', 'config')
It was throwing me an error saying
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'dbutils' is not defined
so, Is there any way I can run it in pyspark by including the databricks package ,like an import ?
Your help is appreciated