add_denormalised_vault_data

Documentation for eth_defi.research.wrangle_vault_prices.add_denormalised_vault_data function.

add_denormalised_vault_data(rows, prices_df, logger=<built-in function print>)

Add denormalised data to the prices DataFrame.

Protocol names and event counts are mapped from the metadata database onto every selected observation. Unknown identifiers remain a hard error because silently exporting partially enriched rows would corrupt downstream reports.

Parameters
Returns

The input frame with event_count and protocol columns.

Return type

pandas.DataFrame