pandas.util.
hash_pandas_object
Return a data hash of the Index/Series/DataFrame.
Include the index in the hash (if Series/DataFrame).
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.