pandas.util.
hash_array
Given a 1d array, return an array of deterministic integers.
Encoding for data & key when strings.
Hash_key for string key to encode.
Whether to first categorize object arrays before hashing. This is more efficient when the array contains duplicate values.