question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pandas dataframe is nor properly supportes

See original GitHub issue

Description

What steps will reproduce the problem?

Try to copy a dataframe to get the issue reporter. Try to visualize a dataframe and you will get an error with no popup

Traceback

Traceback (most recent call last):
  File "C:\Users\T1006173.GRUPOVIDRALA\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\ipythonconsole\widgets\namespacebrowser.py", line 105, in get_value
    timeout=CALL_KERNEL_TIMEOUT).get_value(name)
  File "C:\Users\T1006173.GRUPOVIDRALA\AppData\Local\Programs\Spyder\pkgs\spyder_kernels\comms\commbase.py", line 558, in __call__
    call_dict, call_data, self._comm_id)
  File "C:\Users\T1006173.GRUPOVIDRALA\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\ipythonconsole\comms\kernelcomm.py", line 219, in _get_call_return_value
    call_dict, call_data, comm_id)
  File "C:\Users\T1006173.GRUPOVIDRALA\AppData\Local\Programs\Spyder\pkgs\spyder_kernels\comms\commbase.py", line 440, in _get_call_return_value
    return self._sync_error(reply['value'])
  File "C:\Users\T1006173.GRUPOVIDRALA\AppData\Local\Programs\Spyder\pkgs\spyder_kernels\comms\commbase.py", line 496, in _sync_error
    error_wrapper.raise_error()
  File "C:\Users\T1006173.GRUPOVIDRALA\AppData\Local\Programs\Spyder\pkgs\spyder_kernels\comms\commbase.py", line 90, in raise_error
    raise self.etype(self)
AttributeError: Can't get attribute '_unpickle_block' on <module 'pandas._libs.internals' from 'C:\\Users\\T1006173.GRUPOVIDRALA\\AppData\\Local\\Programs\\Spyder\\pkgs\\pandas\\_libs\\internals.cp37-win_amd64.pyd'>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\T1006173.GRUPOVIDRALA\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\variableexplorer\widgets\main_widget.py", line 560, in copy
    self._current_editor.copy()
  File "C:\Users\T1006173.GRUPOVIDRALA\AppData\Local\Programs\Spyder\pkgs\spyder\widgets\collectionseditor.py", line 1097, in copy
    obj = self.delegate.get_value(idx)
  File "C:\Users\T1006173.GRUPOVIDRALA\AppData\Local\Programs\Spyder\pkgs\spyder\widgets\collectionseditor.py", line 1438, in get_value
    return self.parent().get_value(name)
  File "C:\Users\T1006173.GRUPOVIDRALA\AppData\Local\Programs\Spyder\pkgs\spyder\widgets\collectionseditor.py", line 1496, in get_value
    value = self.shellwidget.get_value(name)
  File "C:\Users\T1006173.GRUPOVIDRALA\AppData\Local\Programs\Spyder\pkgs\spyder\plugins\ipythonconsole\widgets\namespacebrowser.py", line 117, in get_value
    raise ValueError(msg % reason_other)
ValueError: An error occured, see the console..<br><br>Note: Please don't report this problem on Github, there's nothing to do about it.

Versions

  • Spyder version: 5.2.2
  • Python version: 3.7.9
  • Qt version: 5.12.10
  • PyQt5 version: 5.12.3
  • Operating System: Windows 10

Dependencies

# Mandatory:
atomicwrites >=1.2.0          :  1.4.0 (OK)
chardet >=2.0.0               :  4.0.0 (OK)
cloudpickle >=0.5.0           :  2.0.0 (OK)
cookiecutter >=1.6.0          :  1.7.3 (OK)
diff_match_patch >=20181111   :  20200713 (OK)
intervaltree                  :  None (OK)
IPython >=7.6.0;<8.0.0        :  7.31.1 (OK)
jedi >=0.17.2;<0.19.0         :  0.18.1 (OK)
jellyfish >=0.7               :  0.9.0 (OK)
jsonschema >=3.2.0            :  4.4.0 (OK)
keyring >=17.0.0              :  23.5.0 (OK)
nbconvert >=4.0               :  6.4.0 (OK)
numpydoc >=0.6.0              :  1.1.0 (OK)
paramiko >=2.4.0              :  2.9.2 (OK)
parso >=0.7.0;<0.9.0          :  0.8.3 (OK)
pexpect >=4.4.0               :  4.8.0 (OK)
pickleshare >=0.4             :  0.7.5 (OK)
psutil >=5.3                  :  5.9.0 (OK)
pygments >=2.0                :  2.11.2 (OK)
pylint >=2.5.0                :  2.12.2 (OK)
pyls_spyder >=0.4.0           :  0.4.0 (OK)
pylsp >=1.3.2;<1.4.0          :  1.3.3 (OK)
pylsp_black >=1.0.0           :  1.0.1 (OK)
qdarkstyle =3.0.2             :  3.0.2 (OK)
qstylizer >=0.1.10            :  0.2.1 (OK)
qtawesome >=1.0.2             :  1.1.1 (OK)
qtconsole >=5.2.1;<5.3.0      :  5.2.2 (OK)
qtpy >=1.5.0                  :  2.0.0 (OK)
rtree >=0.9.7                 :  0.9.7 (OK)
setuptools >=49.6.0           :  60.5.0 (OK)
sphinx >=0.6.6                :  4.3.2 (OK)
spyder_kernels >=2.2.1;<2.3.0 :  2.2.1 (OK)
textdistance >=4.2.0          :  4.2.2 (OK)
three_merge >=0.1.1           :  0.1.1 (OK)
watchdog                      :  2.1.6 (OK)
zmq >=17                      :  22.3.0 (OK)

# Optional:
cython >=0.21                 :  0.29.26 (OK)
matplotlib >=2.0.0            :  3.5.1 (OK)
numpy >=1.7                   :  1.19.3 (OK)
pandas >=1.1.1                :  1.3.5 (OK)
scipy >=0.17.0                :  1.7.3 (OK)
sympy >=0.7.3                 :  1.9 (OK)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
EduardoAlbaizarcommented, Mar 1, 2022

Ahora voy a abrir el nuevo issue. He andado un poco liado estos días…

0reactions
EduardoAlbaizarcommented, Nov 7, 2022

Muchas gracias Carlos,

Pude encontrarlo por mi cuenta. En cualquier caso he visto que puedo descargarlo a través de PIP y me da menos problemas. Llevo varios meses con la versión 5.3.1 ya que me da estabilidad y no me apetece arriesgar a perderla probando nuevas versiones.

Un saludo

@.***Eduardo Albaizar Process Scientist

Vidrala S.A. T: +34 946 719 733 M: +34 626 928 803 www.vidrala.comhttp://www.vidrala.com/

De: Carlos Cordoba @.> Enviado el: sábado, 5 de noviembre de 2022 0:20 Para: spyder-ide/spyder @.> CC: EDUARDO ALBAIZAR MENCHACA @.>; Mention @.> Asunto: Re: [spyder-ide/spyder] pandas dataframe is nor properly supportes (Issue #17377)

The following email comes from an external source. Be careful with any links or requests

Se echa de menos, ante la falta de depuración de las versiones publicadas, un repositorio con las diferentes versiones de Spyder.

Ese repositorio está en nuestra página de Releases:

https://github.com/spyder-ide/spyder/releaseshttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fspyder-ide%2Fspyder%2Freleases&data=05|01||5dcd381a37a8423fe4ee08dabebb1620|48cbe2043cf14d96b0718e6ca0926b07|0|0|638032008017404701|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=ZvztcWUwakk2RNAiDkKhXJTC4Cn2Vdmqlykife7Xepw%3D&reserved=0

Allí se pueden descargar todas las versiones previas de Spyder hasta la versión 4.2.0 por medio de nuestros instaladores para Windows y macOS.

Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fspyder-ide%2Fspyder%2Fissues%2F17377%23issuecomment-1304331358&data=05|01||5dcd381a37a8423fe4ee08dabebb1620|48cbe2043cf14d96b0718e6ca0926b07|0|0|638032008017404701|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=tOHlDL7ETK702Cn3TpC%2BlwojWInxOcFZzWkW1msLHxg%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FALQCSAKIIQREYYFR3QHFQFTWGWKZXANCNFSM5O44LLSQ&data=05|01||5dcd381a37a8423fe4ee08dabebb1620|48cbe2043cf14d96b0718e6ca0926b07|0|0|638032008017404701|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=9VFZh2UROWY%2BicX9EgBHCZLm6lKPN3ip0Kk1OINVUDk%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.@.>>

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Pandas ValueError DataFrame constructor not ...
I am trying to create a Python Pandas Dataframe using this code: df1=pd.DataFrame(' ... : ValueError: DataFrame constructor not properly called!
Read more >
selenium pandas dataframe constructor not properly called
But when I tried to convert it to data frame I got an error. Here is the code: from selenium import webdriver from...
Read more >
Dataframe Constructor Not Properly Called! How To Fix This ...
Often, this error arises from supplying a string that is not compatible with the data frame constructor. In other words, if you provide...
Read more >
ValueError: DataFrame constructor not properly called! - Python
I am trying to create a Python Pandas Dataframe using this code:. df1=pd.DataFrame('Email') But I am getting this error: ValueError: DataFrame constructor ......
Read more >
Dataframe constructor not properly called error ( Solved)
Solution for the dataframe constructor not properly called error. The solution for this type of error is that you have to pass the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found