I have the following df
in pandas.
0 A B C
1 2 NaN 8
How can I check if df.iloc[1]['B']
is NaN?
I tried using df.isnan()
and I get a table like this:
0 A B C
1 false true false
but I am not sure how to index the table and if this is an efficient way of performing the job at all?