You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "danepitkin (via GitHub)" <gi...@apache.org> on 2023/04/18 21:09:58 UTC

[GitHub] [arrow] danepitkin commented on issue #34987: [Python] `bool(pa.scalar(False))` evaluates to True

danepitkin commented on issue #34987:
URL: https://github.com/apache/arrow/issues/34987#issuecomment-1513798964

   I'll add a +1 for implementing the intuitive usage of `__bool__` and `__eq__` across scalar types (maybe split into 2 PRs). I don't think requiring usage of `as_py()` is as user-friendly in the long term.


-- 
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