I\'m trying to use numpy.select to replace certain values with another values a pandas DataFrame column.
df = pd.DataFrame({\'col\':[\'a\',\'b\',\'c\', np.nan