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

[GitHub] [arrow] danepitkin opened a new issue, #35415: [Python] RecordBatch string representation should mimic Table's column preview

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

   ### Describe the enhancement requested
   
   Before
   ```
   >>> import pyarrow as pa
   >>> n_legs = pa.array([2, 2, 4, 4, 5, 100])
   >>> animals = pa.array(["Flamingo", "Parrot", "Dog", "Horse", "Brittle stars", "Centipede"])
   >>> batch = pa.record_batch([n_legs, animals], names=["n_legs", "animals"])
   
   >>> batch
   pyarrow.RecordBatch
   n_legs: int64
   animals: string
   ```
   
   After
   ```
   >>> batch
   pyarrow.RecordBatch
   n_legs: int64
   animals: string
   ----
   n_legs: [2,2,4,4,5,100]
   animals: ["Flamingo","Parrot","Dog","Horse","Brittle stars","Centipede"]
   ```
   
   ### 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] AlenkaF closed issue #35415: [Python] RecordBatch string representation should mimic Table's column preview

Posted by "AlenkaF (via GitHub)" <gi...@apache.org>.
AlenkaF closed issue #35415: [Python] RecordBatch string representation should mimic Table's column preview
URL: https://github.com/apache/arrow/issues/35415


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