randomly replacing a specific value in a dataset with frac in pandas
randomly replacing a specific value in a dataset with frac in pandas Question: I’ve got a dataset with some missing values as " ?" in just one column I want to replace all missing values with other values in that column (Feature1) like this: Feature1_value_counts = df.Feature1.value_counts(normalize=True) the code above gives me the number I …