Skip to content

Commit 554e4f6

Browse files
jorisvandenbosschedatapythonista
authored andcommitted
DOC: fix see also in docstring of check_bool_array_indexer (#30725)
1 parent 2a3d840 commit 554e4f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/indexers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -274,14 +274,14 @@ def check_bool_array_indexer(array: AnyArrayLike, mask: AnyArrayLike) -> np.ndar
274274
275275
See Also
276276
--------
277-
api.extensions.is_bool_indexer : Check if `key` is a boolean indexer.
277+
api.types.is_bool_dtype : Check if `key` is of boolean dtype.
278278
279279
Examples
280280
--------
281281
A boolean ndarray is returned when the arguments are all valid.
282282
283283
>>> mask = pd.array([True, False])
284-
>>> arr = pd.Series([1, 2])
284+
>>> arr = pd.array([1, 2])
285285
>>> pd.api.extensions.check_bool_array_indexer(arr, mask)
286286
array([ True, False])
287287

0 commit comments

Comments
 (0)