captest.util.get_agg_column_name

captest.util.get_agg_column_name(group_id, agg_func)

Generate a column name for an aggregated column.

Parameters:
  • group_id (str) – Identifier for the group of columns being aggregated.

  • agg_func (str or callable) – Aggregation function used.

Returns:

Name for the aggregated column.

Return type:

str