Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.graphext.com/llms.txt

Use this file to discover all available pages before exploring further.

An additional constant may be used to add to the final result.

Usage

The following examples show how the step can be used in a recipe.

Examples

To add columns num1 and num2:
sum(ds.num1, ds.num2) -> (ds.total)

Inputs & Outputs

The following are the inputs expected by the step and the outputs it produces. These are generally columns (ds.first_name), datasets (ds or ds[["first_name", "last_name"]]) or models (referenced by name e.g. "churn-clf").
*columns
column[number]
One or numeric columns to sum.
result
column[number]
required
Numeric column containing the result of the summation.

Configuration

The following parameters can be used to configure the behaviour of the step by including them in a json object as the last “input” to the step, i.e. step(..., {"param": "value", ...}) -> (output).

Parameters

constant
number
default:"0"
A constant to add.
ignore_nans
boolean
default:"true"
Whether to ignore NaNs or propagate them.