pandas.api.extensions.ExtensionArray._from_factorized

classmethod ExtensionArray._from_factorized(values, original)[source]

Reconstruct an ExtensionArray after factorization.

Parameters
valuesndarray

An integer ndarray with the factorized values.

originalExtensionArray

The original ExtensionArray that factorize was called on.