Hi
How to Convert Spark dataframe to pandas dataframe in Zeppelin .

I tried Mydataframe.toPandas() like said here but it doesn't work
# Convert Spark DataFrame to Pandas
pandas_df = young.toPandas()

# Create a Spark DataFrame from Pandas
spark_df = context.createDataFrame(pandas_df)                                   
                                 

I also tried this:
`z.put("ts", trainSet)`.

`%pyspark trainSet = z.get("ts")` 
but I have a dataframe which do not have the column names and I cannot 
manipulate it with pandas
Do you have an Idea please ?
Regards,

Reply via email to