W3cubDocs

/pandas 0.25

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.

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.api.extensions.ExtensionArray._from_factorized.html