title: How to change a float in a column to a string pandas
body: <p>The state data in my Data Frame is numbered.  For example, 11 represents DC.  I want to change the 11 to DC and do it for all the states.</p>
  <pre><code>person[&quot;state&quot;].replace({&quot;11&quot;: &quot;DC&quot;}, inplace=True)
  </code></pre>
  <p>I though this would work but I got</p>
  <p>Cannot compare types 'ndarray(dtype=int64)' and 'str'</p>