-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Nan value in dataframe editor crash Spyder #4139
Comments
I can't reproduce this. How did you install Qt/PyQt? |
I don't know how I installed it. All with standard packages and/or pip. I did some further investigations:
|
@jitseniesen, any ideas? |
Yes, I understand it after markusr's explanation. The error message complains that the format An easy solution for us would be to use the default format (which is |
@jitseniesen Are you suggesting that non-NaN values are shown as |
Yes |
This sounds like a good solution. I also gave it some thoughts but I couldn't come up with better solution. Anyhow better than the application crash... |
@jitseniesen, could you create a PR against the |
This handles the case where the data frame contains a NaN and the user specifies the format '%d'. Fixes spyder-ide#4139.
This handles the case where the data frame contains a NaN and the user specifies the format '%d'. Fixes spyder-ide#4139.
Description of your problem
dataframe
variableWhat is the expected output? What do you see instead?
Spyder completely crashes. This is not always reproducible but opening and closing table editor several times triggers the crash.
Versions and main components
Python 3.5.2 64bits
Qt 5.7.0
PyQt5 5.7
Dependencies
jedi >=0.8.1 : 0.10.0 (OK)
matplotlib >=1.0 : 1.5.3 (OK)
nbconvert >=4.0 : 5.1.1 (OK)
numpy >=1.7 : 1.12.0 (OK)
pandas >=0.13.1 : 0.18.1 (OK)
pep8 >=0.6 : 1.7.0 (OK)
psutil >=0.3 : 5.1.3 (OK)
pyflakes >=0.6.0 : 1.5.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
pylint >=0.25 : 1.6.5 (OK)
qtconsole >=4.2.0: 4.2.1 (OK)
rope >=0.9.4 : 0.9.4-1 (OK)
sphinx >=0.6.6 : 1.5.2 (OK)
sympy >=0.7.3 : None (NOK)
The text was updated successfully, but these errors were encountered: