I'm using Dask library to analyze my data.
I have this set of data and I would like to add new column which is Phone No. Flag:
ID Phone No
001 NaN
002 O123421
003 Nan
My wish output is like this, where if the user have NaN on phone No flag as '0' else '1':
ID Phone No Phone No Flag
001 NaN 0
002 O123421 1
003 Nan 0
Anyone can help me on this?