shinespiked commented on code in PR #43047:
URL: https://github.com/apache/arrow/pull/43047#discussion_r1690014474
##########
python/pyarrow/array.pxi:
##########
@@ -3977,12 +3977,12 @@ cdef class StructArray(Array):
@staticmethod
def from_arrays(arrays, names=None, fields=None, mask=None,
- memory_pool=None):
+ memory_pool=None, type=None):
"""
Construct StructArray from collection of arrays representing
each field in the struct.
- Either field names or field instances must be passed.
+ Either field names, field instances or a structtype must be passed.
Review Comment:
@AlenkaF I went with struct type to be consistent with the existing message.
--
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]