Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spyder crashes or hangs when creating some pandas DataFrame's #1979

Closed
spyder-bot opened this issue Feb 17, 2015 · 6 comments
Closed

Spyder crashes or hangs when creating some pandas DataFrame's #1979

spyder-bot opened this issue Feb 17, 2015 · 6 comments

Comments

@spyder-bot
Copy link
Collaborator

From mrg0...@gmail.com on 2014-09-22T12:30:25Z

Spyder Version: 2.3.1
Python Version: 3.4.1
Qt Version : 4.8.6, PyQt4 (API v2) 4.10.4 on Windows
pyflakes >=0.6.0: None (NOK)
pep8 >=0.6 : None (NOK)
IPython >=0.13 : 2.2.0 (OK)
pygments >=1.6 : 1.6 (OK)
pandas >=0.13.1 : 0.14.1 (OK)
sphinx >=0.6.6 : 1.2.3 (OK)
rope >=0.9.2 : None (NOK)
matplotlib >=1.0: 1.4.0 (OK)
sympy >=0.7.0 : 0.7.5 (OK)
pylint >=0.25 : None (NOK)

assume these imports for all examples

import pandas
import numpy

these work fine

x = pandas.DataFrame({'x':range(25)})
pandas.DataFrame(list(range(25)))
pandas.DataFrame(numpy.array(range(25)))
pandas.DataFrame(list(numpy.array(range(25))))
ABC = pandas.DataFrame(list(numpy.array(range(25))))

these cause Spyder to hang and/or crash

x = pandas.DataFrame(list(range(25)))
x = pandas.DataFrame(numpy.array(range(25)))
x = pandas.DataFrame(list(numpy.array(range(25))))

Seems to be an issue with the variable explorer. Notice that, for example, the third "bad" example works just fine if I assign the DataFrame to ABC instead of x (ABC is hidden from the variable explorer because it's all-caps) or if I just don't give it to any variable at all.

I'm seeing the problem in using both the regular Console and the IPython console.

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1979

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-09-22T16:33:40Z

Thanks for reporting. I wrongly assumed that all DataFrame column names are strings. In all your examples they are numbers, hence the failure.

Summary: Spyder crashes or hangs when creating some pandas DataFrame's (was: Spyder crashes or hangs when creating a pandas DataFrame)
Status: Accepted
Labels: -Priority-Medium Priority-Critical MS-v2.3.2 Cat-VariableExplorer

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-09-22T16:45:09Z

This issue was closed by revision a9b8a0ea3299 .

Status: Fixed

@spyder-bot
Copy link
Collaborator Author

From mrg0...@gmail.com on 2014-09-23T06:13:15Z

Thanks for accepting and fixing so fast!

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-10-15T07:32:26Z

issue #2007 has been merged into this issue.

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-10-21T15:18:45Z

issue #2017 has been merged into this issue.

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-10-31T11:31:52Z

issue #2035 has been merged into this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant