ARROW-6001 [Python]: Add from_pylist() and to_pylist() to pyarrow.Table to convert list of records - #12010
ARROW-6001 [Python]: Add from_pylist() and to_pylist() to pyarrow.Table to convert list of records#12010AlenkaF wants to merge 13 commits into
Conversation
|
I have corrected the code so that If the schema is not given in Also I saw that there are only a few examples added in the docstrings. I think they are a great way to understand the codebase as they are easy to locate and to use. I would be happy to add them as a part of the Documentation Improvements or as a separate JIRA issue. |
jorisvandenbossche
left a comment
There was a problem hiding this comment.
The behaviour looks good now!
|
@AlenkaF there is also a linter error (probably due to my suggestions) |
|
Will pull the changes and correct, thanks for the ping! |
…ude a dictionary of the row values and column names as keys
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
|
Thanks @AlenkaF ! |
|
Benchmark runs are scheduled for baseline = 7a0141a and contender = ccffcea. ccffcea is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Add
to_pylistandfrom_pylisttoTableandRecordBatch.to_pylistreturns a list of dictsfrom_pylistreturns Table/RecordBatch from a list of dicts (named mapping in the code)