API reference
python:arx:arx.dataframe.coerce_expression
function coerce_expression
coerce_expression(expr: astx.Expr, target_type: astx.DataType, *, context: str) -> astx.Expr
Source: packages/arx/src/arx/dataframe.py:159
Coerce one parsed expression into one declared DataFrame type.
Parameters
-
expr โ Type: astx.Expr
-
target_type โ Type: astx.DataType
-
context โ Type: str
Returns
Type: astx.Expr