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

Wes McKinney commented on ARROW-6043:
-------------------------------------

I still think we need to clearly distinguish "data structure equality" from 
"semantic equality". For example, "semantic equality" is probably better 
addressed by kernels ({{(a == b).all()}})

> [Python] Array equals returns incorrectly if NaNs are in arrays
> ---------------------------------------------------------------
>
>                 Key: ARROW-6043
>                 URL: https://issues.apache.org/jira/browse/ARROW-6043
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.14.1
>            Reporter: Keith Kraus
>            Priority: Major
>             Fix For: 1.0.0
>
>
> {code:python}
> import numpy as np
> import pyarrow as pa
> data = [0, 1, np.nan, None, 4]
> arr1 = pa.array(data)
> arr2 = pa.array(data)
> pa.Array.equals(arr1, arr2)
> {code}
> Unsure if this is expected behavior, but in Arrow 0.12.1 this returned `True` 
> as compared to `False` in 0.14.1.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to