title: Pandas: Location of a row with error
body: <p>I am pretty new to Pandas and trying to find out where my code breaks. Say, I am doing a type conversion:</p>
  
  <pre><code>df['x']=df['x'].astype('int')
  </code></pre>
  
  <p>...and I get an error "ValueError: invalid literal for long() with base 10: '1.0692e+06'</p>
  
  <p>In general, if I have 1000 entries in the dataframe, how can I find out what entry causes a break. Is there anything in ipdb to output the current location (i.e. where the code broke)? Basically, I am trying to pinpoint what value cannot be converted to Int.</p>