From b09d04920ee1ba6e78449539aabda7f872566e55 Mon Sep 17 00:00:00 2001 From: David Poznik Date: Tue, 31 Jan 2023 12:14:26 -0800 Subject: [PATCH] Remove redundant word from `Categorical` docstring --- pandas/core/arrays/categorical.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/arrays/categorical.py b/pandas/core/arrays/categorical.py index 5b61695410474..5a124ae811b9c 100644 --- a/pandas/core/arrays/categorical.py +++ b/pandas/core/arrays/categorical.py @@ -248,7 +248,7 @@ class Categorical(NDArrayBackedExtensionArray, PandasObject, ObjectStringArrayMi """ Represent a categorical variable in classic R / S-plus fashion. - `Categoricals` can only take on only a limited, and usually fixed, number + `Categoricals` can only take on a limited, and usually fixed, number of possible values (`categories`). In contrast to statistical categorical variables, a `Categorical` might have an order, but numerical operations (additions, divisions, ...) are not possible.