Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0
Description
For long arrays, variance kernel is not accurate compared with numpy. See below example.
In [1]: import numpy as np In [2]: import pyarrow.compute as pc In [3]: t = np.arange(321000, dtype='float') In [4]: np.var(t) Out[4]: 8586749999.916667 In [5]: pc.variance(t) Out[5]: <pyarrow.DoubleScalar: 8586749999.899047>
Attachments
Issue Links
- is related to
-
ARROW-11758 [C++][Compute] Summation kernel round-off error
- Resolved
- links to