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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.