Hello stackoverflow community
This is my sample data
Code Sales HeadQuarter
CC 1000 XYZ
AA NaN YYZ
BB 2000 NaN
DD NaN NaN
As I have to append a new column to respective rows that contains atleast one NaN value. The new column can contain any value. I'm using 1 as the value
The new table should look like this
Code Sales HeadQuarter New_column
CC 1000 XYZ
AA NaN YYZ 1
BB 2000 NaN 1
DD NaN NaN 1
Can anyone help me with this?
Thanks in Advance!