rockfish.actions.apply_transform
Attributes
Number = Union[int, float]
module-attribute
Scalar = Union[int, float, bool, str]
module-attribute
Classes
ApplyConfig
dataclass
Function
dataclass
Add
dataclass
Cast
dataclass
Divide
dataclass
FillNull
dataclass
FillNull replaces null values in a field with a Scaler fill_value.
Attributes:
Name | Type | Description |
---|---|---|
field |
Field
|
Field name to operate over. |
fill_value |
Scalar
|
Value to replace nulls with. |
FillNullAggregation
dataclass
FillNullAggregation replaces null values in a field with the results of an aggregation function on that same field.
Attributes:
Name | Type | Description |
---|---|---|
field |
Field
|
Field name to operate over. |
agg |
Literal['mean', 'median']
|
|
FillNullBackward
dataclass
FillNullBackward replaces null values in a field with the next non-null value.
Attributes:
Name | Type | Description |
---|---|---|
field |
Field
|
Field name to operate over. |
FillNullForward
dataclass
FillNullForward replaces null values in a field with the previous non-null value.
Attributes:
Name | Type | Description |
---|---|---|
field |
Field
|
Field name to operate over. |