From 260433629eebd9e51bf59c180a6ef0b4715ade7a Mon Sep 17 00:00:00 2001 From: Patrick Hoefler <61934744+phofl@users.noreply.github.com> Date: Sun, 26 Nov 2023 22:13:30 +0100 Subject: [PATCH] Fix --- pandas/core/algorithms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(