eland.Series.rpow#

Series.rpow(left: Series) Series#

返回系列和左侧的指数幂,逐元素(二元运算符 pow)。

参数#

left: eland.Series

返回#

eland.Series

示例#

>>> df = ed.DataFrame('http://localhost:9200', 'ecommerce').head(5)
>>> df.total_quantity
0    2
1    2
2    2
3    2
4    2
Name: total_quantity, dtype: int64
>>> np.int_(2) ** df.total_quantity
0    4.0
1    4.0
2    4.0
3    4.0
4    4.0
Name: total_quantity, dtype: float64