EXPAND ALL
  • Home

approxEqual

Returns whether or not the two given values are approximately equal to each other, where the values have an absolute difference of less than 1E-9.

Returns: BOOLEAN

Boolean of whether the two arguments are approximately equal.

Arguments

VariableTypeDescription
arg1FLOAT64The value to be compared to.
arg2FLOAT64The value which should be compared to the first argument.

Examples:

df.equals = px.approxEqual(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.