File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
117
117
-i " pandas.api.types.is_integer PR01,SA01" \
118
118
-i " pandas.api.types.is_iterator PR07,SA01" \
119
119
-i " pandas.api.types.is_named_tuple PR07,SA01" \
120
- -i " pandas.api.types.is_object_dtype SA01" \
121
120
-i " pandas.api.types.is_re PR07,SA01" \
122
121
-i " pandas.api.types.is_re_compilable PR07,SA01" \
123
122
-i " pandas.api.types.pandas_dtype PR07,RT03,SA01" \
Original file line number Diff line number Diff line change @@ -141,6 +141,11 @@ def is_object_dtype(arr_or_dtype) -> bool:
141
141
"""
142
142
Check whether an array-like or dtype is of the object dtype.
143
143
144
+ This method examines the input to determine if it is of the
145
+ object data type. Object dtype is a generic data type that can
146
+ hold any Python objects, including strings, lists, and custom
147
+ objects.
148
+
144
149
Parameters
145
150
----------
146
151
arr_or_dtype : array-like or dtype
@@ -151,6 +156,15 @@ def is_object_dtype(arr_or_dtype) -> bool:
151
156
boolean
152
157
Whether or not the array-like or dtype is of the object dtype.
153
158
159
+ See Also
160
+ --------
161
+ api.types.is_numeric_dtype : Check whether the provided array or dtype is of a
162
+ numeric dtype.
163
+ api.types.is_string_dtype : Check whether the provided array or dtype is of
164
+ the string dtype.
165
+ api.types.is_bool_dtype : Check whether the provided array or dtype is of a
166
+ boolean dtype.
167
+
154
168
Examples
155
169
--------
156
170
>>> from pandas.api.types import is_object_dtype
You can’t perform that action at this time.
0 commit comments