Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] pygwalker bug report #621

Open
njulemon opened this issue Sep 22, 2024 · 0 comments
Open

[BUG] pygwalker bug report #621

njulemon opened this issue Sep 22, 2024 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@njulemon
Copy link

Describe the bug
Hello, disappointed that it does not work with df which columns are based on MultiIndex.

To Reproduce
Steps to reproduce the behavior:

Run
df = pd.DataFrame(
{(1, 2): [1, 2, 3], (1, 3): [4, 5, 6]}
)
pygwalker.walk(df)

Error
53 for col in columns:
---> 54 col = col.replace("\", "-")
55 if column_map[col] == 0:
56 renamed_columns.append(col)

Expected behavior
Able to manage it.

Versions

  • pygwalker version: 0.4.9.9
  • python version : 3.12
@njulemon njulemon added the bug Something isn't working label Sep 22, 2024
@longxiaofei longxiaofei added the enhancement New feature or request label Sep 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants
@njulemon @longxiaofei and others