python change NAn numbers to null code example Example: pandas replace nan data["Gender"].fillna("No Gender", inplace = True)