1#Python, pandas
2#Count missing values for each column of the dataframe df
3
4df.isnull().sum()
5
1#return a subset of the dataframe where the column name value == NaN
2df.loc[df['column name'].isnull() == True]
1import numpy as np
2import pandas as pd
3
4val = np.nan
5
6print(pd.isnull(val))
7# True