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] The visualization of the dataframe resulted from the call of pd.crosstab will cause an error #15

Open
leijie-wang opened this issue Jul 8, 2021 · 0 comments

Comments

@leijie-wang
Copy link

The bug could be reproduced by the following codes:
df = data.cars()
result = pd.crosstab([df.Origin], df.Cylinders)
result

The problem is that we have no control over what events are logged in the result dataframe, though generally dropna will be the final event logged. Then the lux will try to visualize the implicit tab which will finally cause an error.

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