MCPcopy Create free account
hub / github.com/pydata/xarray / variables

Method variables

xarray/core/dataset.py:435–443  ·  view source on GitHub ↗

Low level interface to Dataset contents as dict of Variable objects. This ordered dictionary is frozen to prevent mutation that could violate Dataset invariants. It contains all variable objects constituting the Dataset, including both data variables and coordinates.

(self)

Source from the content-addressed store, hash-verified

433
434 @property
435 def variables(self) -> Frozen[Hashable, Variable]:
436 """Low level interface to Dataset contents as dict of Variable objects.
437
438 This ordered dictionary is frozen to prevent mutation that could
439 violate Dataset invariants. It contains all variable objects
440 constituting the Dataset, including both data variables and
441 coordinates.
442 """
443 return Frozen(self._variables)
444
445 @property
446 def attrs(self) -> dict[Any, Any]:

Callers 1

get_variablesMethod · 0.45

Calls 1

FrozenClass · 0.90

Tested by

no test coverage detected