pitrou commented on a change in pull request #12012:
URL: https://github.com/apache/arrow/pull/12012#discussion_r776364995



##########
File path: python/pyarrow/_csv.pyx
##########
@@ -254,15 +275,21 @@ cdef class ParseOptions(_Weakrefable):
         Whether empty lines are ignored in CSV input.
         If False, an empty line is interpreted as containing a single empty
         value (assuming a one-column CSV file).
+    invalid_row_handler : callable, optional (default None)
+        If not None, this object is called for each CSV row that fails
+        parsing (because of a mismatching number of columns).
+        It should accept a single InvalidRow argument and return either

Review comment:
       Note that numpydoc's support for namedtuple is rather poor:
   https://github.com/numpy/numpydoc/issues/257




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