handling NanNs in pandas code example
Example 1: pandas nan values in column
df['your column name'].isnull()
Example 2: represent NaN with pandas in python
import pandas as pd
if pd.isnull(float("Nan")):
print("Null Value.")
df['your column name'].isnull()
import pandas as pd
if pd.isnull(float("Nan")):
print("Null Value.")