title: Weird Error When Dividing two numbers in Pandas DataFrame
body: <p>I am trying to divide two fields by each other below:</p>
  
  <pre><code>c1_preds_data['adj_final_price'] = (c1_preds_data["final_price "]/c1_preds_data['adjustment'])
  </code></pre>
  
  <p>In a Pandas DataFrame and am getting the below error message:</p>
  
  <pre><code>TypeError: ufunc 'true_divide' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
  </code></pre>
  
  <p>I have tried a df.dropna(), incase I am dividing by an N/A and I have tried checking that denominator doesn't have any zeros in it like below:</p>
  
  <pre><code>c1_preds_data.loc[c1_preds_data.adjustment == 0, 'adj_final_flag'] = -99
  c1_preds_data.loc[c1_preds_data.adjustment != 0, 'adj_final_flag'] = 99
  </code></pre>
  
  <p>and they all came out as non-zero (99)</p>
  
  <p>and am unsure about how to interpret the error message.</p>