JabariBooker commented on code in PR #13109:
URL: https://github.com/apache/arrow/pull/13109#discussion_r872684533
##########
python/pyarrow/array.pxi:
##########
@@ -895,7 +895,7 @@ cdef class Array(_PandasConvertible):
result = self.ap.Diff(deref(other.ap))
return frombytes(result, safe=True)
- def cast(self, object target_type, safe=True):
+ def cast(self, object target_type, safe=True, options=None):
Review Comment:
Is this clear up usage (i.e. we want the user to either pass a value for
`safe` or `options` but never both)? As it is now, if an `CastOptions` is
passed, the safe parameter is just ignored.
--
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]