How to convert pyspark.sql.dataframe.DataFrame to json?

前端 未结 0 635
一生所求
一生所求 2021-01-12 14:49

How I can convert a pyspark.sql.dataframe.DataFrame to json format? my file is .txt I read it by:

df=spark.read.json(b.tx

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