Have a dataframe like this:
a b c d
1 1 Nan 1
Nan 2 Nan 2
Nan 3 Nan 3
4 4 4 Nan
I need to get all rows containing "Nan" from all columns except "с" while column "с" is still visible, so its contents are also important. In other words, the output should be like this:
a b c d
Nan 2 Nan 2
Nan 3 Nan 3
4 4 4 Nan
I was able to do this by selectively replacing the Nan values from the "a, b, d" columns with "value 1" and the values of the "c" column with "value 2", thereby being able to filter as I would like. But a real table contains about 16 billion values, so I think my way is not the best way...