This is an old revision of the document!


Create simple dataframe from array

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