pandas.CategoricalIndex.append

pandas 3.1.1 · Index objects · method

Concatenate index entries in order. The result can preserve a categorical dtype when the inputs are compatible.

Call syntax

CategoricalIndex.append(other)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
other Required
Positional or keyword
Index or list/tuple of indices

Supply the second object or value used in the operation.

Returns

Index