You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/01/01 22:40:15 UTC
[GitHub] [arrow] wjones127 opened a new pull request #9073: Arrow 11095/recordbatch column
wjones127 opened a new pull request #9073:
URL: https://github.com/apache/arrow/pull/9073
These changes make it easier to get an Array / Field from a `pyarrow.RecordBatch` by name, mimicking the existing functionality of the `pyarrow.Table` API.
```python
# Existing pyarrow.Table API:
table.field('my_column') # returns pyarrow.Field
table.column('my_column') # returns pyarrow.ChunkedArray
table['my_column'] # returns pyarrow.ChunkedArray
# New pyarrow.RecordBatch API:
batch.field('my_column') # returns pyarrow.Field
batch.column('my_column') # returns pyarrow.Array
batch['my_column'] # returns pyarrow.Array
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] github-actions[bot] commented on pull request #9073: ARROW-11095 [Python] access pyarrow.RecordBatch field() and column() by string name
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #9073:
URL: https://github.com/apache/arrow/pull/9073#issuecomment-753399704
https://issues.apache.org/jira/browse/ARROW-11095
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow] jorisvandenbossche closed pull request #9073: ARROW-11095 [Python] access pyarrow.RecordBatch field() and column() by string name
Posted by GitBox <gi...@apache.org>.
jorisvandenbossche closed pull request #9073:
URL: https://github.com/apache/arrow/pull/9073
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org