colnade.expr¶
Expression AST nodes produced by column operations.
Expr¶
Expr
¶
Bases: Generic[DType]
Base class for all expression tree nodes.
Supports logical chaining (&, |, ~), comparison,
arithmetic operators, and aliasing.
ColumnRef¶
Literal¶
BinOp¶
UnaryOp¶
FunctionCall¶
FunctionCall(name, args=(), kwargs=None)
¶
Agg¶
AliasedExpr¶
SortExpr¶
SortExpr(expr, descending)
¶
Sort direction wrapper. Not an expression — used in .sort() calls.
StructFieldAccess¶
ListOp¶
ListOp(list_expr, op, args=())
¶
JoinCondition¶
JoinCondition(left, right)
¶
A join predicate from comparing columns of two different schemas.
Created by Column.__eq__ when the two columns belong to different
schemas::
Users.id == Orders.user_id # → JoinCondition
Users.age == Users.score # → BinOp[Bool] (same schema)
lit¶
lit(value)
¶
Create a literal expression.