AlenkaF commented on code in PR #35865:
URL: https://github.com/apache/arrow/pull/35865#discussion_r1218861594
##########
python/pyarrow/array.pxi:
##########
@@ -2053,6 +2053,38 @@ cdef class ListArray(BaseListArray):
@property
def values(self):
+ """
+ Return the underlying array of values which backs the ListArray.
+
+ This is logically a concatenation of all the sub-lists in this array.
+
+ Note even null values are included. If any of the list slots
+ are null, but are backed by a non-empty sub-list, those values
+ will be included in the output.
+
+ Compare with ``flatten``, which returns only the non-null
+ values.
Review Comment:
```suggestion
values taking into consideration the array's offsets.
```
Same for LargeListArray ...
##########
python/pyarrow/array.pxi:
##########
@@ -2053,6 +2053,38 @@ cdef class ListArray(BaseListArray):
@property
def values(self):
+ """
+ Return the underlying array of values which backs the ListArray.
+
+ This is logically a concatenation of all the sub-lists in this array.
+
+ Note even null values are included. If any of the list slots
+ are null, but are backed by a non-empty sub-list, those values
+ will be included in the output.
+
+ Compare with ``flatten``, which returns only the non-null
+ values.
Review Comment:
```suggestion
values taking into consideration the array's offset.
```
Same for LargeListArray ...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]