modin.pandas.DataFrame.pow¶
- DataFrame.pow(other, axis='columns', level=None, fill_value=None) DataFrame[source]¶
Get exponential power of
DataFrameand other, element-wise (binary operator pow).Note
Native pandas doesn’t allow
a ** b, whereais an integer andbis a negative integer. However, Snowpark pandas API allows it and return the correct result. For example,pd.DataFrame([5]).pow(-7)is allowed, whereas it will raise an exception in native pandas.