Sum#

from tmlt.synthetics import Sum
class tmlt.synthetics.Sum(groupby_columns, measure_column, weight=1)#

Bases: WeightedMarginal

A marginal sum.

answer(source_id, keyset, session, budget, clamping_bounds)#

Returns a query object corresponding to the sum to compute.

Return type:

List[MarginalAnswer]

property output_column: str#

The name of the column containing the sum of the measure column.

__str__()#

String representation of this Sum.

Return type:

str