NameError: name 'dbutils' is not defined in pyspark

后端 未结 3 969
梦如初夏
梦如初夏 2021-01-18 09:17

I am running a pyspark job in databricks cloud. I need to write some of the csv files to databricks filesystem (dbfs) as part of this job and also i need to use some of the

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-18 10:19

    yes! You could use this:

    pip install DBUtils
    import DBUtils
    

提交回复
热议问题