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

[GitHub] [arrow] JacekPliszka opened a new issue, #37959: rechunk/chunk_by method for pyarrow.lib.ChunkedArray

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

   ### Describe the enhancement requested
   
   def rechunk/chunk_by(self, assign_to_chunk: Array|ChunkedArray):
       ...
   
   If we have chunked array [[1,2], [3,4,5]]
   
   and we do rechunk([1, 0, 1, 0,1]) - it would create chunked array with 2nd and 4th item in the first chunk
   and 1st, 3rd and 5th in the 2nd:
   
   [[2, 4], [1,3,5]]
   
   ### 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


Re: [I] rechunk/chunk_by/shuffle method for pyarrow.lib.ChunkedArray [arrow]

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

   This can be emulated with pyarrow.chunked_array and chunked_array.take method


-- 
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


Re: [I] rechunk/chunk_by/shuffle method for pyarrow.lib.ChunkedArray [arrow]

Posted by "JacekPliszka (via GitHub)" <gi...@apache.org>.
JacekPliszka closed issue #37959: rechunk/chunk_by/shuffle method for pyarrow.lib.ChunkedArray
URL: https://github.com/apache/arrow/issues/37959


-- 
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

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