Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.15.1
Description
Flatten() doesn't work on ChunkedArray. It returns only the ChunkedArray in a list without flattening anything.
// code placeholder
aa = pa.array([[1],[2]])
bb = pa.chunked_array([aa,aa])
bb.flatten()
Out[15]:
[<pyarrow.lib.ChunkedArray object> [ [ [ 1 ], [ 2 ] ], [ [ 1 ], [ 2 ] ] ]]
Expected:
[ <pyarrow.lib.Array object> [ 1, 2 ], <pyarrow.lib.Array object> [ 1, 2 ] ]
Attachments
Issue Links
- is related to
-
ARROW-602 [C++] Provide iterator access to primitive elements inside a ChunkedArray
- Resolved
- links to