converting pandas dataframes to spark dataframe in zeppelin

后端 未结 3 1906
南旧
南旧 2021-02-04 05:16

I am new to zeppelin. I have a usecase wherein i have a pandas dataframe.I need to visualize the collections using in-built chart of zeppelin I do not have a clear approach here

3条回答
  •  一向
    一向 (楼主)
    2021-02-04 05:49

    Try setting the SPARK_HOME and PYTHONPATH Variables in bash and then rerunning it

        export SPARK_HOME=path to spark
        export PYTHONPATH=$SPARK_HOME/python:$SPARK_HOME/python/build:$PYTHONPATH
        export PYTHONPATH=$SPARK_HOME/python/lib/py4j-0.8.2.1-src.zip:$PYTHONPATH
    

提交回复
热议问题