Miki Tebeka created ARROW-640:
---------------------------------

             Summary: [Python] Arrow types should have a sensible __hash__ and 
comparison
                 Key: ARROW-640
                 URL: https://issues.apache.org/jira/browse/ARROW-640
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
            Reporter: Miki Tebeka


{noformat}
In [86]: arr = pa.from_pylist([1, 1, 1, 2])

In [87]: set(arr)
Out[87]: {1, 2, 1, 1}

In [88]: arr[0] == arr[1]
Out[88]: False

In [89]: arr
Out[89]: 
<pyarrow.array.Int64Array object at 0x7f8c8c739e08>
[
  1,
  1,
  1,
  2
]
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to