cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Converting Rows of Spark Dataframe to List

HariharaSam
Contributor

How to convert the rows of a spark dataframe to list without using Pandas.

Input Spark Dataframe :

imageExpected Output:

[['A','B','C'],['1','2','3'],['4','5','6'],['7','8','9']]

0 REPLIES 0