You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Fokko (via GitHub)" <gi...@apache.org> on 2023/03/08 08:13:43 UTC

[GitHub] [arrow] Fokko opened a new issue, #34495: [Python] Make `Array` iterable

Fokko opened a new issue, #34495:
URL: https://github.com/apache/arrow/issues/34495

   ### Describe the enhancement requested
   
   This would allow for more Pythonic patterns in downstream libraries.
   
   ```
   >>> next(pa.chunked_array([[1,2,3]]))
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
   TypeError: 'pyarrow.lib.ChunkedArray' object is not an iterator
   ```
   
   ### Component(s)
   
   Python


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] jorisvandenbossche commented on issue #34495: [Python] Make `ChunkedArray` & `Array` iterable

Posted by "jorisvandenbossche (via GitHub)" <gi...@apache.org>.
jorisvandenbossche commented on issue #34495:
URL: https://github.com/apache/arrow/issues/34495#issuecomment-1460365982

   Can you give an example of in what kind of pattern you would want to use this? 
   
   And for a ChunkedArray, do you expect that it gives a chunk or a scalar?


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org