How can I change null value and replace them using the value in the same row?
user days_unseen
0 1.0 2.0
1 4.0 5.0
2 1.0 NaN
I want to change NaN in index 2, replacing it with the value of user in index 2 and add 1 to it.
So that the NaN will become 2.0:
user days_unseen
0 1.0 2.0
1 4.0 5.0
2 1.0 2.0