pkrack commented on issue #44853:
URL: https://github.com/apache/arrow/issues/44853#issuecomment-4214302636
@sibbiii You can use the `Table.from_arrays` constructor with an empty array.
Example using the struct type above:
```
import pyarrow as pa
schema = pa.schema([pa.field("parent", pa.struct([pa.field("col",
pa.uuid())]))])
empty_table = pa.Table.from_arrays([pa.array([])], schema=schema)
```
--
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]