DataFrame Znajdź nan wiersze
df[df.isnull().any(axis=1)]
Selfish Swiftlet
df[df.isnull().any(axis=1)]
#Python, pandas
#Count missing values for each column of the dataframe df
df.isnull().sum()
null_cols = df.columns[df.isnull().all()]
df.drop(null_cols, axis = 1, inplace = True)
np.count_nonzero(df.isnull().values)
np.count_nonzero(df.isnull()) # also works
dfObj.isnull().sum()
# will give count of nan values of every column.
df.isna().sum()