danepitkin commented on code in PR #34894:
URL: https://github.com/apache/arrow/pull/34894#discussion_r1167060100
##########
python/pyarrow/types.py:
##########
@@ -54,351 +56,165 @@ def is_null(t):
return t.id == lib.Type_NA
+@doc(is_null, datatype="boolean")
def is_boolean(t):
- """
- Return True if value is an instance of a boolean type.
-
- Parameters
- ----------
- t : DataType
- """
return t.id == lib.Type_BOOL
+@doc(is_null, datatype="integer")
Review Comment:
Good call! Will update
--
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]