Skip to content

[BUG] The visualization of the dataframe resulted from the call of pd.crosstab will cause an error #15

@leijie-wang

Description

@leijie-wang

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions