jorisvandenbossche commented on issue #43435:
URL: https://github.com/apache/arrow/issues/43435#issuecomment-2260359792

   @alanhdu thanks for the issue. I think this is indeed something that 
`from_pylist` could support, and a good feature request.
   
   In that case, the `schema` argument should probably be required (or it could 
be relaxed to just a list of column `names`).
   
   The current implementation lives here:
   
   
https://github.com/apache/arrow/blob/62fd98704dbe2684018707a7b135751fa7bfbe5a/python/pyarrow/table.pxi#L6160-L6197
   
   (it's in a cython file, but essentially it's just pure python in this case)
   
   I think it should be relatively straightforward to edit that to also support 
tuples (or to have a variant that supports tuples).
   


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