ExtensionArray._values_for_factorize(self) → Tuple[numpy.ndarray, Any] [source]
Return an array and missing value suitable for factorization.
| Returns: |
|
|---|
The values returned by this method are also used in pandas.util.hash_pandas_object().
© 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._values_for_factorize.html