You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Uwe L. Korn (JIRA)" <ji...@apache.org> on 2018/02/13 14:20:00 UTC

[jira] [Commented] (ARROW-2150) [Python] array equality defaults to identity

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

Uwe L. Korn commented on ARROW-2150:
------------------------------------

No, this at the moment only lack of implementation. We have function in C++ that actually can take care of the comparisons (they are as simple as calling Array::Equal()) but they are probably not yet invoked in Python.

> [Python] array equality defaults to identity
> --------------------------------------------
>
>                 Key: ARROW-2150
>                 URL: https://issues.apache.org/jira/browse/ARROW-2150
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>    Affects Versions: 0.8.0
>            Reporter: Antoine Pitrou
>            Priority: Minor
>
> I'm not sure this is deliberate, but it doesn't look very desirable to me:
> {code}
> >>> pa.array([1,2,3], type=pa.int32()) == pa.array([1,2,3], type=pa.int32())
> False
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)