Dimensions and resolutions¶
Python-friendly dimension and resolution declarations.
Dimension
dataclass
¶
A logical dimension with its available dataframe-key resolutions.
resolution
¶
Return a selected resolution by ID, associated with this dimension.
Raises:
| Type | Description |
|---|---|
ValueError
|
If the resolution is not declared in this dimension. |
at
¶
Return the resolution with the given ID.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
name
|
str
|
Resolution identifier. |
required |
Returns:
| Type | Description |
|---|---|
Resolution
|
The resolution associated with this dimension. |