Hey, thanks for y'all's help.  To answer your questions

1. I tested the same exact code in an IpythonNotebook as well as from the 
Terminal and I ONLY get the warnings when running it in Spyder (via the 
internal Ipython Console or the Python Console).

2. pd.__version__ gives me '0.15.2' and np.__version__ gives me '1.9.2' in 
all locations (terminal, ipython notebook, spyder)


I uninstalled my Anaconda package using sudo rm -rf ~/anaconda, 
resinstalled a fresh copy and I still get the warnings.


On Friday, May 29, 2015 at 10:35:02 AM UTC-5, Ben Gorman wrote:
>
> Installed a fresh copy of Anaconda, launched Spyder, then ran the following
>
> import pandas as pdimport numpy as np
>
> train = pd.read_csv('/Users/Ben/Documents/Kaggle/Titanic/train.csv')
> train
>
> which gave me the errors
>
> //anaconda/lib/python3.4/site-packages/pandas/core/format.py:1969: 
> RuntimeWarning: invalid value encountered in greater
>   has_large_values = (abs_vals > 
> 1e8).any()//anaconda/lib/python3.4/site-packages/pandas/core/format.py:1970: 
> RuntimeWarning: invalid value encountered in less
>   has_small_values = ((abs_vals < 10 ** (-self.digits)) 
> &//anaconda/lib/python3.4/site-packages/pandas/core/format.py:1971: 
> RuntimeWarning: invalid value encountered in greater
>   (abs_vals > 0)).any()
>
> (although the dataframe did print after these errors). Why am I seeing 
> this and what should I do? I do not get these errors when I run the same 
> code in an Ipython Notebook.
>
> Also posted this on StackOverlow 
> <http://stackoverflow.com/questions/30519487/pandas-error-invalid-value-encountered>
> .
>
> Thanks!
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spyderlib+unsubscr...@googlegroups.com.
To post to this group, send email to spyderlib@googlegroups.com.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to