Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
Description
>>> import numpy as np >>> import pyarrow.compute as pc >>> pc.sort_indices([3.0, 4.0, 1.0, 2.0, None]) <pyarrow.lib.UInt64Array object at 0x7f78368a0c90> [ 2, 3, 0, 1, 4 ] >>> pc.sort_indices([3.0, 4.0, np.nan, 1.0, 2.0, None]) <pyarrow.lib.UInt64Array object at 0x7f783684bf30> [ 0, 1, 2, 3, 4, 5 ]