arrow: [Python] Array equals returns incorrectly if NaNs are in arrays
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)
Unsure if this is expected behavior, but in Arrow 0.12.1 this returned True as compared to False in 0.14.1.
Reporter: Keith Kraus / @kkraus14
Related issues:
- [Python] pyarrow array equals return False if there’s nan (duplicates)
- [C++] Should NaN comparison return false or NaN/NA? (relates to)
PRs and other links:
Note: This issue was originally created as ARROW-6043. Please see the migration documentation for further details.
About this issue
- Original URL
- State: open
- Created 7 years ago
- Comments: 15 (1 by maintainers)
@honno it gets even worst than that!