EXPAND ALL
  • Home

subtract

This function is implicitly invoked by the - operator.

Returns: INT64

`a` with `b` subtracted from it.

Arguments

VariableTypeDescription
aINT64 / FLOAT64 / TIME64NSThe value to be subtracted from.
bINT64 / FLOAT64 / TIME64NSThe value to subtract.

Examples:

# Implicit call.
df.subtracted = df.a - df.b
# Explicit call.
df.subtracted = px.subtract(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.