# Class ValueTuple A value, along with the unit it is in, can be represented by a 3-way tuple called a "value tuple". They are used throughout WeeWX. All WeeWX routines can accept a simple unadorned 3-way tuple as a value tuple, but they return the type `ValueTuple`. It is useful because its contents can be accessed using named attributes. You can think of it as a unit-aware value, useful for converting to and from other units. The following attributes, and their index, are present:
| Index | Attribute | Meaning |
| 0 | value | The data value(s). Can be a series (e.g., [20.2, 23.2, ...]) or a scalar (e.g., 20.2) |
| 1 | unit | The unit it is in ("degree_C") |
| 2 | group | The unit group ("group_temperature") |