Create simple dataframe from array

pr = [['Alice'], ['Bob']]
pdf = sc.parallelize(pr).toDF(['name'])
pdf.show()
kb/howto/create_simple_dataframe_from_array.txt · Last modified: 2022/01/03 16:03 by 127.0.0.1
Back to top
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0