title: Pandas error - invalid value encountered
body: <p>I'm new to Pandas. I downloaded and installed <a href="http://continuum.io/downloads" rel="nofollow noreferrer">Anaconda</a>.  Then I tried running the following code via the Spyder app:</p>
  
  <pre><code>import pandas as pd
  import numpy as np
  
  train = pd.read_csv('/Users/Ben/Documents/Kaggle/Titanic/train.csv')
  train
  </code></pre>
  
  <p>Although this prints the dataframe as I expected, it also shows these errors</p>
  
  <pre><code>//anaconda/lib/python3.4/site-packages/pandas/core/format.py:1969: RuntimeWarning: invalid value encountered in greater
    has_large_values = (abs_vals &gt; 1e8).any()
  //anaconda/lib/python3.4/site-packages/pandas/core/format.py:1970: RuntimeWarning: invalid value encountered in less
    has_small_values = ((abs_vals &lt; 10 ** (-self.digits)) &amp;
  //anaconda/lib/python3.4/site-packages/pandas/core/format.py:1971: RuntimeWarning: invalid value encountered in greater
    (abs_vals &gt; 0)).any()
  </code></pre>
  
  <p>Why am I getting these errors?</p>
  
  <p>EDIT: I just tested the above code in an <code>IPython</code> notebook and it works without errors.  So, is there something wrong with my <code>Spyder</code> installation?  Any help would be appreciated.</p>
  
  <p>EDIT2: After some testing, I can read the first 5 rows of the CSV without getting the warning.  So, I suspect a <code>NaN</code> in the 6th row for a <code>float64</code> type column is triggering the warning.</p>