VariableState Class
Variable Status.
Constructor
VariableState(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
variable
|
Variable name in variable states. |
|
filled_n_a_ratio
|
Proportion of missing values that need to be filled by fillNAMethod. |
|
effective_count
|
Number of effective data points before applying fillNAMethod. |
|
first_timestamp
|
First valid timestamp with value of input data. |
|
last_timestamp
|
Last valid timestamp with value of input data. |
Methods
| clear | |
| copy | |
| get | |
| items | |
| keys | |
| pop | |
| popitem | |
| setdefault | |
| update | |
| values |
clear
clear() -> None
copy
copy()
get
get(key: str, default: Any = None) -> Any
Parameters
| Name | Description |
|---|---|
|
key
Required
|
|
|
default
|
Default value: None
|
items
items() -> ItemsView
keys
keys() -> KeysView
pop
pop(key: ~typing.Any, default: ~typing.Any = <object object>) -> Any
Parameters
| Name | Description |
|---|---|
|
key
Required
|
|
|
default
|
|
popitem
popitem() -> Tuple[str, Any]
setdefault
setdefault(key: ~typing.Any, default: ~typing.Any = <object object>) -> Any
Parameters
| Name | Description |
|---|---|
|
key
Required
|
|
|
default
|
|
update
update(*args: Any, **kwargs: Any) -> None
values
values() -> ValuesView
Attributes
effective_count
Number of effective data points before applying fillNAMethod.
effective_count: int | None
filled_n_a_ratio
Proportion of missing values that need to be filled by fillNAMethod.
filled_n_a_ratio: float | None
first_timestamp
First valid timestamp with value of input data.
first_timestamp: datetime | None
last_timestamp
Last valid timestamp with value of input data.
last_timestamp: datetime | None
variable
Variable name in variable states.
variable: str | None