python pandas DataFrame Replace 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