cubids.entity_sets.apply_entity_set_changes

apply_entity_set_changes(summary, changes)[source]

Apply exact entity set substitutions to a summary dataframe in memory.

Parameters:
Returns:

The summary, with RenameEntitySet set on every matching row.

Return type:

pandas.DataFrame

Raises:

ValueError – If no row’s planned entity set matched, which usually means a typo.