pandas not nan code example
Example 1: pandas nan values in column
df['your column name'].isnull()
Example 2: check if a value is nan pandas
import numpy as np
import pandas as pd
val = np.nan
print(pd.isnull(val))
# True
df['your column name'].isnull()
import numpy as np
import pandas as pd
val = np.nan
print(pd.isnull(val))
# True