pandas filter every column not null

36

#Python, pandas
#Obtain a dataframe df containing only the rows where "column1" is null (NaN)

df[df['column1'].isnull()]
In [3]:
output = df.loc[df['tma_device_status'].notnull()]

Comments

Submit
0 Comments