ExtensionArray.
_from_factorized
Reconstruct an ExtensionArray after factorization.
An integer ndarray with the factorized values.
The original ExtensionArray that factorize was called on.
See also
factorize
ExtensionArray.factorize
pandas.api.extensions.ExtensionArray._formatter
pandas.api.extensions.ExtensionArray._from_sequence