Filter Nulla Nilai Hanya Panda
#Python, pandas
#Obtain a dataframe df containing only the rows where "column1" is null (NaN)
df[df['column1'].isnull()]
Ahh the negotiatior
#Python, pandas
#Obtain a dataframe df containing only the rows where "column1" is null (NaN)
df[df['column1'].isnull()]
columns = ['col1', 'col2', 'col3']
df[df[columns].notnull().all(1)]
In [3]:
output = df.loc[df['tma_device_status'].notnull()]