title: Pandas start generating Run-time warning error and require restart
body: <pre><code>import numpy as np
  import pandas as pd 
  
  tempdata = np.random.random(10)
  myseries = pd.Series(tempdata)
  
  newseries =  myseries[2:6]
  </code></pre>
  
  <p>Now if I put <strong>newseries</strong> in <strong>pd.Series</strong> and want to re-index(I know indexing is immutable) it with some alphabets 
  I encounter following error.</p>
  
  <p><strong>According to pandas documentation Series can accept data as a Python dict or an ndarray or a scaler value</strong> </p>
  
  <pre><code>newseries = pd.Series(newseries, index = ['a','b','c','d'])
  
  C:\Users\user110244\Anaconda3\lib\site-packages\pandas\formats\format.py:2191: RuntimeWarning: invalid value encountered in greater
    has_large_values = (abs_vals &gt; 1e6).any()
  C:\Users\user110244\Anaconda3\lib\site-packages\pandas\formats\format.py:2192: RuntimeWarning: invalid value encountered in less
    has_small_values = ((abs_vals &lt; 10**(-self.digits)) &amp;
  C:\Users\user110244\Anaconda3\lib\site-packages\pandas\formats\format.py:2193: RuntimeWarning: invalid value encountered in greater
    (abs_vals &gt; 0)).any()
  </code></pre>
  
  <p>This error display continuously till I restart my Python.Even if try to execute some other simple command say </p>
  
  <pre><code>a = 2 
  </code></pre>
  
  <p>the same error occured again.
  I just want to know why this is happening ? If I am wrong at some place then it will be better to display the error rather than continuously reoccurance of same thing. Is this a bug ? Please explain</p>
  
  <p>My system details are:-
  Python 3.5.2 |Anaconda 4.1.1 (64-bit)| (default, Jul  5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] Win10 Pro</p>