Variable.update
Variable.update(*, label=None, description=None, value_labels=None) → self
Parameters:
Returns:
Examples:
table = redivis.organization("Demo").dataset("iris_species").table("iris")
variable = table.variable("sepalLengthCm")
variable.update(label="Sepal length in centimeters",
description="A detailed description of how this variable was collected"
)
# Update value labels on another variable (this particular example is a bit contrived)
table.variable("Species").update([
{"value": "Iris-setosa", "label": "A detailed description about this value"},
{"value": "Iris-versicolor", "label": "A detailed description about this other value"},
])Last updated
Was this helpful?

