rdd to df conversion using toDF() is giving error

后端 未结 0 826
感动是毒
感动是毒 2020-12-06 01:36

My code is:

sample1 = df_pat_jour_status_other_occurances.rdd.map(lambda x: (x.lh_pat_id, x.src_key, x.Journey_Status)).toDF()
type(sample1)
相关标签:
回答
  • 消灭零回复
提交回复
热议问题