Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl committed Nov 26, 2023
1 parent 9f0e0ad commit 2604336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 2604336

Please sign in to comment.