how to find mean of row in pandas and fillna code example
Example: python fillna with mean in a dataframe
df["newColumName"] = df["originalColumnName"].fillna(df["originalColumnName"].mean())
df["newColumName"] = df["originalColumnName"].fillna(df["originalColumnName"].mean())