datatable.FExpr.__pow__()¶
Raise x
to the power y
, or in math notation \(x^y\).
If x
or y
are multi-column expressions, then they must have the
same number of columns, and the **
operator will be applied to each
corresponding pair of columns. If either x
or y
are single-column
while the other is multi-column, then the single-column expression
will be repeated to the same number of columns as its opponent.
The power operator can only be applied to numeric columns, and the
resulting column will have stype float64
in all cases except when both
arguments are float32
(in which case the result is also float32
).
Parameters¶
x
,
y
FExpr
The arguments must be either FExpr
s, or expressions that can be
converted into FExpr
s.
return
FExpr
An expression that evaluates x ** y
.
The content on this page is licensed under the Creative Commons Attribution 4.0 License
(CC BY 4.0) ,
and code samples are licensed under the MIT License.