** (pow)

ColExpr.__pow__(
rhs: ColExpr[Int],
) ColExpr[Float][source]
ColExpr.__pow__(
rhs: ColExpr[Float],
) ColExpr[Float]

Computes the power x ** y.

Note

Polars throws on negative exponents in the integer case. A polars error like failed to convert X to u32 may be due to negative inputs to this function.