API reference
python:astx:astx.SeriesReduction
class SeriesReduction
SeriesReduction(operation: str, value: Expr, loc: SourceLocation = NO_SOURCE_LOCATION)
Source: packages/astx/src/astx/nullable.py:233
Declared as: python:astx:astx.nullable.SeriesReduction
Reduce a column using an explicit null-skipping aggregate.
Attributes
-
operation — Operation to resolve or execute.; Type: str
-
value — Stored value.; Type: Expr
-
type_ — Type associated with this expression.; Type: DataType
-
loc — Type: SourceLocation
-
kind — Type: ASTKind
-
comment — Type: str
-
parent — Type: Optional[ASTNodes]
-
ref — Type: str
-
nbytes — Type: int
-
name — Type: str
-
_tmp_id — Type: int
Methods
-
__init__ — Model a reduction without choosing backend kernel types.
-
get_struct — Include the operation and operand in structural output.