spyder: Spyder can't open dataframes with Pandas 1.3.0

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

When I open a dataframe in the variables explorer, I get the following error:

Spyder was unable to retrieve the value of this variable from the console.

The error message was: An error occured, see the console…

I think this happened after updating my pandas to 1.3.0

What steps reproduce the problem?

What is the expected output? What do you see instead?

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version: 5.0.5
  • Python version: 3.9.5
  • Qt version:
  • PyQt version:
  • Operating System name/version: macOS 11.4

Dependencies

PASTE DEPENDENCIES HERE

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

Hey @jondo, thanks a lot for tracking this problem. That’s really the solution!

In other words, for people having this bug, please update to Pandas 1.3.1 in your environments to get the fix and keep viewing dataframes in our Variable Explorer.