how to put nan in pandas dataframe code example
Example 1: pandas replace nan
data["Gender"].fillna("No Gender", inplace = True)
Example 2: represent NaN with pandas in python
import pandas as pd
if pd.isnull(float("Nan")):
print("Null Value.")