PySpark replace null in column with value in other column

前端 未结 3 928
我寻月下人不归
我寻月下人不归 2020-12-10 01:51

I want to replace null values in one column with the values in an adjacent column ,for example if i have

A|B
0,1
2,null
3,null
4,2

I want i

3条回答
提交回复
热议问题