I have a column(array of strings), in a PySpark dataframe. How do I break the array and make separate rows for every string item in the array?

前端 未结 0 910
一生所求
一生所求 2020-12-22 12:35

I have a PySpark dataframe-

df = spark.createDataFrame([
    ("u1", [\'u1_row1\', \'u1_row2\', \'u1_row3\']),
    ("u2", [\'u2_row1\', \'u         


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