Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert spark dataframe to pandas

# Convert Spark DataFrame back to a Pandas DataFrame using Arrow
pandasDF = sparkDF.select("*").toPandas()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #spark #dataframe #pandas
ADD COMMENT
Topic
Name
9+9 =