Repository navigation
Conversation
There was a problem hiding this comment.
Why not:
def equals(Array self, Array other, *, nans_equal=True):There was a problem hiding this comment.
The ship might have sailed on this (I don't know how long this is already exposed in the public C++ API), but numpy has this as equal_nan keyword
|
Should other |
The code actually sets it to True, not False (meaning that But so that means we change the behaviour again? Because ARROW-6043 reported that it changed from True to False (which is the behaviour on master as well) |
|
Well, the best would be to set |
d4608a9 to
356c300
Compare
|
@kszucs do you want to rebase/update this? |
|
Due to the conflicts it would be better to restart, so I'll close this PR. Note that wiring the default EqualOptions through the API will break the previous behaviour, so it may need a deprecation period before actually using the default settings. |
Expose
EqualOptionsand set nans_equal to True. We should probably reduceArray::Equalsto data structure equality and move the ArrayEquals implementation to the comparison kernels.