pd. NaN code example
Example 1: represent NaN with pandas in python
import pandas as pd
if pd.isnull(float("Nan")):
print("Null Value.")
Example 2: pandas isnull
df.isnull().sum()
import pandas as pd
if pd.isnull(float("Nan")):
print("Null Value.")
df.isnull().sum()