Skip to content

Commit 27aa460

Browse files
committed
trying to avoid docstring warning
1 parent 0cff92b commit 27aa460

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/algorithms.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def isin(comps: AnyArrayLike, values: AnyArrayLike) -> np.ndarray:
415415
if is_categorical_dtype(comps):
416416
# TODO(extension)
417417
# handle categoricals
418-
return comps.isin(values) # type: ignore
418+
return comps.isin(values)
419419

420420
comps, dtype = _ensure_data(comps)
421421
values, _ = _ensure_data(values, dtype=dtype)
@@ -678,6 +678,7 @@ def value_counts(
678678
-------
679679
Series
680680
"""
681+
681682
from pandas.core.series import Series
682683

683684
name = getattr(values, "name", None)

0 commit comments

Comments
 (0)