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

[BUG] Handling two columns with the same name on .iplot() #282

Open
thomktz opened this issue Jul 19, 2022 · 0 comments
Open

[BUG] Handling two columns with the same name on .iplot() #282

thomktz opened this issue Jul 19, 2022 · 0 comments

Comments

@thomktz
Copy link

thomktz commented Jul 19, 2022

[cufflinks 0.17.3, plotly >= 4.1.1, used in VisualStudioCode notebooks]

Reproduce

To reproduce the bug, call .iplot() on a dataframe containing two columns with the same name

Description

The graph will appear very weird and not readable at all

Proposed solution

When two or more columns have the same name, automatically rename them "{x}_0", "{x}_1", or "{x} (0)", "{x} (1)"

I can work on this myself if others find the issue problematic and the solution relevant.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant