title: Is there a better method than mapping str to float then mapping to int?
body: <p>I need to merge two data frames. In df_A the key is an int. In df_B the key is a string ending in .0 e.g. '10003.0'.</p>
  
  <p>I would like to convert the string in df_B to an int for merging. Is there a better way than mapping twice as seen below?</p>
  
  <pre><code>df_B['key'].map(float).map(int)
  </code></pre>
  
  <p>The syntax seems awkward to me. Is there a better solution?</p>