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