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

Data Explorer strips whitespace in middle of column name #5888

Open
jonvanausdeln opened this issue Jan 6, 2025 · 1 comment
Open

Data Explorer strips whitespace in middle of column name #5888

jonvanausdeln opened this issue Jan 6, 2025 · 1 comment
Labels
area: data explorer Issues related to Data Explorer category. bug Something isn't working
Milestone

Comments

@jonvanausdeln
Copy link
Contributor

System details:

Positron and OS details:

Positron Version: 2025.01.0 (system setup) build 152
Code - OSS Version: 1.95.0
Commit: 66aa3fb
Date: 2025-01-06T02:53:20.465Z
Electron: 32.2.1
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.26100

Interpreter details:

Describe the issue:

#3089 (comment)

When a column name has more than one space in the middle, it gets stripped by data explorer

## Steps to reproduce the issue:
import pandas as pd

lead_ws = pd.DataFrame({"          leading_whitespace": [1,2,3], 
                       "trailing whitespace               ": [1,2,3],
                       "middle                 whitespace": [1,2,3]})

Expected or desired behavior:

Whitespace to be preserved

Were there any error messages in the UI, Output panel, or Developer Tools console?

@jonvanausdeln jonvanausdeln added the area: data explorer Issues related to Data Explorer category. label Jan 6, 2025
@wesm wesm added the bug Something isn't working label Jan 6, 2025
@jthomasmock
Copy link
Contributor

Also in the Summary Panel: Image

@juliasilge juliasilge added this to the Future milestone Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: data explorer Issues related to Data Explorer category. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants