select rows with null value python-pandas
I guess you can use isna() or isnull() functions.
df[df['column name'].isna()]
(or)
df[df['column name'].isnull()]
How can I select the rows with null values in respect of columns name?
What I have:




ID
A
B




1
a
b


2

v


3
y



4
w
j


5
w




What I want:
Select rows with null in respect with e.g. column B:




ID
B




3
y


5
w