EXPAND ALL
  • Home

add

This function is implicitly invoked by the + operator. If both types are strings, then will concate the strings. Trying to add any other type to a string will cause an error

Returns: INT64

The sum of a and b.

Arguments

VariableTypeDescription
aINT64 / FLOAT64 / STRING / TIME64NSThe value to be added to.
bINT64 / FLOAT64 / STRING / TIME64NSThe value to add to the first argument.

Examples:

# Implicit call.
df.sum = df.a + df.b
Explicit call.
df.sum = px.add(df.a, df.b)
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.