rok commented on a change in pull request #12464:
URL: https://github.com/apache/arrow/pull/12464#discussion_r832138885
##########
File path: python/pyarrow/_compute.pyx
##########
@@ -1458,10 +1459,12 @@ class StrptimeOptions(_StrptimeOptions):
unit : str
Timestamp unit of the output.
Accepted values are "s", "ms", "us", "ns".
+ error_is_null : boolean, default False
+ Return null on parsing errors if true or raise if false.
"""
- def __init__(self, format, unit):
- self._set_options(format, unit)
+ def __init__(self, format, unit, error_is_null=True):
Review comment:
Ah sorry, it was a remainder from the previous `raise_errors` parameter.
Changed and added a test.
--
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]