You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "stinodego (via GitHub)" <gi...@apache.org> on 2024/01/02 15:26:38 UTC
Re: [I] [Python][Interchange protocol] Export boolean columns as bit-packed values [arrow]
stinodego commented on issue #37991:
URL: https://github.com/apache/arrow/issues/37991#issuecomment-1874170462
@AlenkaF I would support exporting booleans as bit-packed booleans. It is more in line with the protocol: zero copy if possible. It is up to the person implementing `from_dataframe` to handle reading bit-packed booleans. That is how I have implemented it in Polars.
I now have a special case for pyarrow's 8-bit boolean type, but I'd like to get rid of it if at all possible, as it doesn't make much sense, in my opinion.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org