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