I am new to pandas , I am trying to load the csv in Dataframe. My data has missing values represented as ? , and I am trying to replace it with standard Missing values - NaN
df=df.replace({'?':np.NaN})
Using Dictionary to replace any value by NaN