You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Rok Mihevc (Jira)" <ji...@apache.org> on 2023/01/11 07:20:03 UTC
[jira] [Updated] (ARROW-2154) [Python] __eq__ unimplemented on Buffer
[ https://issues.apache.org/jira/browse/ARROW-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rok Mihevc updated ARROW-2154:
------------------------------
External issue URL: https://github.com/apache/arrow/issues/18121
> [Python] __eq__ unimplemented on Buffer
> ---------------------------------------
>
> Key: ARROW-2154
> URL: https://issues.apache.org/jira/browse/ARROW-2154
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Affects Versions: 0.8.0
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.9.0
>
>
> Having to call {{equals()}} is un-Pythonic:
> {code:python}
> >>> pa.frombuffer(b'foo') == pa.frombuffer(b'foo')
> False
> >>> pa.frombuffer(b'foo').equals(pa.frombuffer(b'foo'))
> True
> {code}
> Same for many other pyarrow types, incidently.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)