EXPAND ALL
  • Home

logicalOr

Returns: BOOLEAN

True if either expression is Truthy or both expressions are Truthy, otherwise False.

Arguments

VariableTypeDescription
b1INT64 / BOOLEANLeft side of the OR.
b2INT64 / BOOLEANRight side of the OR.

Examples:

# Implicit call.
df.can_filter_or_has_data = df.can_filter or df.has_data
# Explicit call.
df.can_filter_or_has_data = px.logicalOr(df.can_filter, df.has_data)
This site uses cookies to provide you with a better user experience. By using Pixie, you consent to our use of cookies.