pytaco.cast

pytaco.cast(e, dt)

Cast an expression from one datatype to another.

Parameters
e: index_expression

The index expression to cast

dt: datatype

The type of the output index expression.

Returns
casted: index_expression

An index expression which has been cast to a new type dt.