how to check is nan in python code example
Example 1: python test is nan
math.isnan(n)
Example 2: pandas nan values in column
df['your column name'].isnull()
Example 3: Identify Null and NAN python
import pandas as pd
pd.isnull(df.columnName).sum()
pd.notnull(df.columnName).sum()