[ 
https://issues.apache.org/jira/browse/ARROW-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16388359#comment-16388359
 ] 

ASF GitHub Bot commented on ARROW-2154:
---------------------------------------

pitrou commented on issue #1716: ARROW-2154: [Python] Implement equality on 
buffers
URL: https://github.com/apache/arrow/pull/1716#issuecomment-370895806
 
 
   AppVeyor at https://ci.appveyor.com/project/pitrou/arrow/build/1.0.165

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> [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
>            Priority: Minor
>              Labels: pull-request-available
>
> 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
(v7.6.3#76005)

Reply via email to