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

   ### Describe the enhancement requested
   
   ```python
   import pyarrow as pa
   t = pa.table([
         pa.array(["a", "a", "b", "b", "c"]),
         pa.array([1, 2, 3, 4, 5]),
   ], names=["keys", "values"])
   
   for subtable in pa.TableGroupBy(t,"keys"): # loop over the 3 tables
     subtable.to_pandas() # with the keys column
     
   # alternatively
   for key_name, subtable in pa.TableGroupBy(t,"keys"): # loop over the 3 tables
     subtable.to_pandas() # without the keys column
   ```
   
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to