diff --git a/pandas/core/algorithms.py b/pandas/core/algorithms.py index 277c0f189df7a..2f325b413c3ca 100644 --- a/pandas/core/algorithms.py +++ b/pandas/core/algorithms.py @@ -935,7 +935,7 @@ def value_counts_internal( if idx.dtype == bool and keys.dtype == object: idx = idx.astype(object) elif ( - idx.dtype != keys.dtype # noqa: PLR1714 + idx.dtype != keys.dtype # noqa: PLR1714 # noqa: R1714 and idx.dtype != "string[pyarrow_numpy]" ): warnings.warn(