Skip to content

[Python] DataFrame Interchange Protocol #33982

Closed

Activity

  1. stinodego commented on Aug 8, 2023

    @stinodego

    I noticed that there is currently no support yet in the from_dataframe function for boolean columns with bitsize 1. Is there an issue for implementing this?

    import polars as pl
    import pyarrow as pa
    import pyarrow.interchange
    
    df = pl.Series("a", [True, False], dtype=pl.Boolean).to_frame()
    dfi = df.__dataframe__()
    pa.interchange.from_dataframe(dfi)
    # NotImplementedError: Conversion for (<DtypeKind.BOOL: 20>, 1, 'b', '=') is not yet supported.
  2. AlenkaF commented on Aug 14, 2023

    @AlenkaF
    MemberAuthor

    No, there is no issue - I think we missed it as we didn't have the use case then.
    Will open a new issue to implement it, thanks!

  3. AlenkaF commented on Jan 8, 2024

    @AlenkaF
    MemberAuthor

    Closing this issue as all tasks are done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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