Skip to main content

aggregate.ylt_hash()

A hash of a year loss table’s file bytes, "blake3:<hex>", which

Usage

aggregate.ylt_hash(data)

EventSet.from_ylt records as its source_hash.

Parameters

data: bytes

Returns

str

Examples

>>> from prospicio.aggregate import ylt_hash
>>> ylt_hash(b"year,value").startswith("blake3:")

True