pandas.api.extensions.ExtensionArray._from_factorized

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

Reconstruct an ExtensionArray after factorization.

Parameters:
values : ndarray

An integer ndarray with the factorized values.

original : ExtensionArray

The original ExtensionArray that factorize was called on.

Scroll To Top