df['DataFrame Column'] = df['DataFrame Column'].fillna(0)
df.replace(np.nan,0)
df.fillna('', inplace=True)
df['workclass'].replace('?', np.NaN)
data['horsepower'].replace(to_replace='?' , value = np.nan,inplace = True)
data['horsepower'].unique()
df = df.where(pd.notnull(df), None)
df['salary'] = df['salary'].fillna(df['salary'].mode()[0])
#nan replace mode in string
df['Brand'].fillna(df['Brand'].mode()[0], inplace=True)