generate_partition_hash

hcrystalball.utils.generate_partition_hash(partition_label)[source]

Generate a unique hash for data partition

Parameters

partition_label (dict) – label in form {“column_1”:”value_a”, “column_2”:”value_b”}

Returns

String containing the MD5 hash generated from the string representation of partition label

Return type

str