Skip to content

Pandas implementation and BooleanDtype #52

Open
@AlenkaF

Description

@AlenkaF

When researching all possible dtypes with missing values in Vaex and observing how this is handled in Pandas implementation I found that there is a BooleanDtype in Pandas that gives an error.

def test_bool():
    df = pd.DataFrame({"A": [True, False, False, True]})
    df["B"] = pd.array([True, False, pd.NA, True], dtype="boolean")
    df2 = from_dataframe(df)
    tm.assert_frame_equal(df, df2)

My question is: when thinking of all possible entries into Vaex dataframe should one stick to the common or should one dissect all possibilities on this level?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions