Someone on the Anaconda list also pointed out that it works with a standard
(as opposed to an IPython) console.  So the bug, as far as I can tell, is
limited to Spyder 2.3.6 (I haven't checked other versions) with Python 2.7
and the IPython console.

On Tue, Sep 15, 2015 at 2:21 PM, Paul Blelloch <[email protected]>
wrote:

> It appears that a dataframe no longer accepts a list as data in Python
> 3.4.  But the following works:
>
> import pandas as pd
> import numpy as np
> p = pd.DataFrame(data=np.arange(10))
>
> But that still doesn't work with Python 2.7.9 (i.e. it hangs spyder).  In
> fact, as far as I can tell pandas works just fine with spyder 2.3.6 and
> Python 3.4.3, but still doesn't with spyder 2.3.6 and Python 2.7.9.
>
> This might push me over the edge into the world of Python 3.x ;-)
>
> On Tue, Sep 15, 2015 at 12:33 PM, Big Stone <[email protected]> wrote:
>
>> on winpython 3.4 / Spyder 2.3.6 :
>> >>> import pandas as pd
>> >>> p=pd.DataFrame(data=range(10))
>> Traceback (most recent call last):
>>   File "<stdin>", line 1, in <module>
>>   File
>> "D:\WinPython\basedir34\build\winpython-3.4.3.amd64\python-3.4.3.amd64\lib\site-packages\pandas\core\frame.py",
>> line 302, in __init__
>>     raise PandasError('DataFrame constructor not properly called!')
>> pandas.core.common.PandasError: DataFrame constructor not properly called!
>> >>>
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "spyder" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/spyderlib/KHZGwpJDS7A/unsubscribe.
>> To unsubscribe from this group and all its topics, 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.
>>
>
>

-- 
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.

Reply via email to