buaazhwb commented on issue #43435: URL: https://github.com/apache/arrow/issues/43435#issuecomment-2308858487
For now, we can regard the `from_pydict` as a method for creating `Table` with column-like data, since its input is a mapping of field to array. We also have `from_pylist` which can create `Table` with row-like data. But `from_pylist` requires that data and field are bounded, because it takes a dict as a row data. Seems we need to provide an api to support creating table with seperate data and schema. I initialy plan to add a new method, eg `from_pytuple`, to support this issue, but this method can also process list data, not only tuple. So the method name will be consufing. So I decide to edit the `from_pylist` to support this. Any suggestion on this? thx! @jorisvandenbossche -- 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]
