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