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

Dataframe viewer cannot show "_" in column names #15320

Closed
10 tasks
mIgLLL opened this issue Apr 17, 2021 · 1 comment
Closed
10 tasks

Dataframe viewer cannot show "_" in column names #15320

mIgLLL opened this issue Apr 17, 2021 · 1 comment

Comments

@mIgLLL
Copy link

mIgLLL commented Apr 17, 2021

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 a variable name with "_", such as "a_a", you can just see "a a" in the column rather than "a_a"

image

What steps reproduce the problem?

  1. import pandas as pd
  2. a=pd.DataFrame()
  3. a['a_a']=1
  4. Open the variable explorer and check the column name of "a_a"

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

See the "a_a" instead.

Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

  • Spyder version: 4.2.3 (since 4.1.x , I forgot when, and it still happends in 5.0.0)
  • Python version: 3.8.8
  • Qt version:
  • PyQt version:
  • Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE
@ccordoba12
Copy link
Member

Hey @mIgLLL, thanks for reporting. We'll take a look at it for our next version.

@ccordoba12 ccordoba12 changed the title Variable Explorer cannot show the "_" Dataframe viewer cannot show "_" in column names Apr 25, 2021
@ccordoba12 ccordoba12 modified the milestones: v5.0.2, v5.0.3 Apr 25, 2021
@ccordoba12 ccordoba12 modified the milestones: v5.0.3, v5.1.0 May 15, 2021
@ccordoba12 ccordoba12 modified the milestones: v5.0.4, v5.1.0 May 24, 2021
@ccordoba12 ccordoba12 modified the milestones: v5.1.0, v5.1.1 Jul 24, 2021
@ccordoba12 ccordoba12 self-assigned this Jul 27, 2021
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