how to fill na values in pandas code example
Example 1: pandas fill na with value from another column
df['Cat1'].fillna(df['Cat2'])
Example 2: pandas replace nan
data["Gender"].fillna("No Gender", inplace = True)
df['Cat1'].fillna(df['Cat2'])
data["Gender"].fillna("No Gender", inplace = True)