Variable.exists
Variable.exists() → bool
Checks to see whether the variable exists
Returns:
bool
Examples:
table = redivis.organization("Demo").dataset("iris_species").table("iris")
variable = table.variable("sepalLengthCm")
variable.exists() # -> True
table.variable("some_nonexistent_var") # -> False
Last updated
Was this helpful?