AlenkaF commented on code in PR #43047:
URL: https://github.com/apache/arrow/pull/43047#discussion_r1698101361


##########
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:
   I think that is fine - what I had in mind was only a typo change. Will add a 
suggestion to make it clearer.



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