Sum

Return the sum of the values over the requested axis.

tags: [“EDA”]

Parameters

Input Dataset: Input Dataset (Required: True, Multiple: False)

Output Dataset: Output Dataset (Required: True, Multiple: False)

The sample input for this transform looks as shown in the screenshot:

../../../_images/sum1.png

The output or result after adding the sum transform looks as below:

../../../_images/sum2.png

How to use it in Notebook

template=TemplateV2.get_template_by('Sum')

recipe_Sum= project.addRecipe([car_data, employee_data, temperature_data, only_numeric], name='Sum')

transform=Transform()
transform.templateId = template.id
transform.name='Sum'
transform.variables = {
'input_dataset':'car',
'output_dataset':'car_sum'}
recipe_Sum.add_transform(transform)
recipe_Sum.run()

Requirements

pandas