pandas dataframe fill null values with np.nan code example
Example 1: python pandas replace nan with null
df.fillna('', inplace=True)
Example 2: how to fill nan values with mean in pandas
df.fillna(df.mean())
df.fillna('', inplace=True)
df.fillna(df.mean())