[docs]classSum(AggregationPrimitive):"""Calculates the total addition, ignoring `NaN`. Examples: >>> sum = Sum() >>> sum([1, 2, 3, 4, 5, None]) 15.0 """name="sum"input_types=[ColumnSchema(semantic_tags={"numeric"})]return_type=ColumnSchema(semantic_tags={"numeric"})stack_on_self=Falsestack_on_exclude=[Count]default_value=0description_template="the sum of {}"defget_function(self):returnnp.sum