Preserve column names from pyspark groupby > agg > arrays_zip > collect_list

前端 未结 0 1360
予麋鹿
予麋鹿 2021-02-06 07:08

I have a dataframe that looks like this:

df = spark.createDataFrame([
    Row(foo=\'a\', bar=1, baz=4),
    Row(foo=\'a\', bar=2, baz=5),
    Row(foo=\'b\', bar=3         


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