featurebyte.Feature.pow¶
pow(
other: FrozenSeries
) -> FrozenSeriesTDescription¶
Computes the exponential power of each element.
Parameters¶
- other: FrozenSeries
Power to raise to
Returns¶
- FrozenSeriesT
Column or Feature with exponential power values
Examples¶
Compute exponential power values for a Column in a View:
>>> view = catalog.get_view("GROCERYINVOICE")
>>> view["Amount^2"] = view["Amount"].pow(2)
>>> view.preview(5).filter(regex="Amount")
Amount Amount^2
0 10.68 114.0624
1 38.04 1447.0416
2 1.99 3.9601
3 37.21 1384.5841
4 1.20 1.4400
Compute exponential power values for a Feature: