Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
7.0.0
-
Windows 10
Description
Related to ARROW-7362, which is not resolved for fixed size arrays:
import pyarrow as pa array = pa.array([[1], [2], [3]], type=pa.list_(pa.float64(), list_size=1)) assert array[2:].flatten() != array.flatten() # <-- assertion fails # expected behavior assert array[2:].flatten() == pa.array([3], type=pa.float64())
Variable size lists behave as expected:
array = pa.array([[1], [2], [3]], type=pa.list_(pa.float64())) assert array[2:].flatten() != array.flatten() # pass assert array[2:].flatten() == pa.array([3], type=pa.float64()) # pass
Attachments
Issue Links
- links to