09-15-2022 04:23 AM
How to convert the rows of a spark dataframe to list without using Pandas.
Input Spark Dataframe :
Expected Output:
[['A','B','C'],['1','2','3'],['4','5','6'],['7','8','9']]
never-displayed
Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections.
Click here to register and join today!
Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.