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

autocomplete of pandas DataFrames filled by .from_csv() causes crash on OS X #2695

Closed
ptthompsonzul opened this issue Sep 14, 2015 · 5 comments

Comments

@ptthompsonzul
Copy link

On my mac mini (Macmini6,1) with OS X 10.10.5, using autocomplete on a pandas DataFrame object which has been filled with the pandas.DataFrame.from_csv() method, Spyder crashes to desktop. Following code provides reliable crash reproduction on my system:

import pandas as pd
a = pd.DataFrame()
a = pd.DataFrame.from_csv('test.csv')
b = a.

As soon as the . is typed following 'b = a', spyder begins to hang, and then crashes within a few seconds. If the from_csv() assignment is not made, then no crash occurs. Assigning using the DataFrame constructor as below also does not cause a crash, and the autocomplete list populates as expected when the . is typed after 'b = a':

import pandas as pd
a = pd.DataFrame([[1,1],[2,1]])
b = a.

Using Anaconda python distribution with a python 3.4 environment. Have run 'conda update --all' several times to make sure no packages are out of date.

@ccordoba12
Copy link
Member

Does this happen in the Editor or the Python/IPython console?

@ptthompsonzul
Copy link
Author

Occurs in the editor. Haven't tried it in the iPython console.

@ccordoba12
Copy link
Member

Please downgrade Jedi to 0.8.1 with this command:

conda install jedi==0.8.1

to temporarily fix this problem.

@ccordoba12
Copy link
Member

Closing as duplicate of #2659

@ptthompsonzul
Copy link
Author

Confirming, downgrade to jedi 0.8.1 does prevent crash. There IS a noticeable delay before the autocomplete list shows up though (on the order of 5-10 seconds). Thanks for the work around. :)

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

2 participants