pandas replace nan in certain column code example Example: pandas replace nan data["Gender"].fillna("No Gender", inplace = True)