def get_hash(f):
    import hashlib
    m = hashlib.md5()
    m.update(f)
    return m.hexdigest()
Gets hexadmecimal md5 hash of a string
dataset/ETHPy150Open statsmodels/statsmodels/tools/hash_funcs.py/get_hash