df1 = df[df.isna().any(axis=1)]
#Retreieve boolean values of whether or not the given cells of a dataframe are #null df.isnull()
In [3]: output = df.loc[df['tma_device_status'].notnull()]