Source: http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.replace.html The pandas DataFrame description of the replace function makes you think that it would search for a string and replace it (my poor assumption) However, this is incorrect. It will search for