Add arithmetic to categoricals? #8629
Labels
API Design
Categorical
Categorical Data Type
Numeric Operations
Arithmetic, Comparison, and Logical operations
Milestone
I'm not entirely sure why (perhaps just the trouble of implementing it), but categoricals do not currently support arithmetic:
Similarly to string operations (#8627), arithmetic with scalars could very efficient transform categoricals into new categoricals.
In contrast, array + array operations should probably just return a normal array.
CC @JanSchultz @jreback
The text was updated successfully, but these errors were encountered: