how to fill nan valuw of data in pandas code example Example: pandas replace nan data["Gender"].fillna("No Gender", inplace = True)