Error when creating new column in Pyspark

后端 未结 0 1657
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-02 04:14

Creating new column

data = spark.createDataFrame([(1,2,5), (3,4,9)], [\'Col_1\', \'Col_2\',\'Col_3\'])
data.show()

+-----+-----+-----+
|Col_1|Col_2|Col_3|
+-         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题