EXPAND ALL
  • Home

notEqual

Determines whether the values are not equal. Passing in floating-point values might lead to false positives. Use not px.approxEqual(b1, b2) to compare floats instead.

Returns: BOOLEAN

True if `b1` is not equal to `b2`, False otherwise.

Arguments

VariableTypeDescription
b1INT64 / STRING / BOOLEAN / TIME64NS / UINT128 / FLOAT64
b2INT64 / STRING / BOOLEAN / TIME64NS / UINT128 / FLOAT64

Examples:

# Implicit call.
df.failed_http = df.http_status != 200
# Explicit call.
df.failed_http = px.notEqual(df.http_status, 200)
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.