pandas.api.extensions.ExtensionArray._hash_pandas_object
pandas 3.1.1 · Extensions · method
Implement element-wise hashing for a custom extension array.
Call syntax
pd.api.extensions.ExtensionArray._hash_pandas_object(*, encoding, hash_key, categorize)Run the example
Edit the example and select Run Python to see the result.
Parameters
| Parameter | Requirement | Accepted values and behavior |
|---|---|---|
encoding |
Required Keyword only |
str Name a text encoding such as "utf-8". |
hash_key |
Required Keyword only |
str |
categorize |
Required Keyword only |
bool |
Returns
np.ndarray[uint64]