PySpark: conditionally fill NA based on aggregation of corresponding column values

后端 未结 0 1085
轻奢々
轻奢々 2021-01-26 04:40

I have a dataframe with 3 columns- brand, color, and rating:

values = [(\'Lacoste\', \'Red\', 6), (\'Gap\', \'Orange\', 8), (\'Lacoste\', \'Green\', 5),
                  


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