DataFrame Temukan baris nan
df[df.isnull().any(axis=1)]
Selfish Swiftlet
df[df.isnull().any(axis=1)]
df.isnull().values.any()
#Python, pandas
#Count missing values for each column of the dataframe df
df.isnull().sum()
#return a subset of the dataframe where the column name value == NaN
df.loc[df['column name'].isnull() == True]
df['your column name'].isnull().values.any()
import pandas as pd
## df1 as an example data frame
## col1 name of column for which you want to calculate the nan values
sum(pd.isnull(df1['col1']))