EXPAND ALL
  • Home

greaterThan

This function is implicitly invoked by the > operator.

Returns: BOOLEAN

Boolean of whether arg1 is greater than arg2.

Arguments

VariableTypeDescription
arg1INT64 / TIME64NS / FLOAT64 / STRINGThe value to be compared to.
arg2INT64 / TIME64NS / FLOAT64 / STRINGThe value to check if it is greater than the first argument.

Examples:

# Implict call.
df.gt = df.a > df.b
Explicit call.
df.gt = px.greaterThan(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.