pandas nan as null code example
Example 1: pandas replace nan
data["Gender"].fillna("No Gender", inplace = True)
Example 2: python pandas replace nan with null
df.fillna('', inplace=True)
data["Gender"].fillna("No Gender", inplace = True)
df.fillna('', inplace=True)