(other: Series | number | Array<number>, options?: { inplace?: boolean })
| 426 | */ |
| 427 | pow(other: Series | number | Array<number>, options?: { inplace?: boolean }): Series |
| 428 | pow(other: Series | number | Array<number>, options?: { inplace?: boolean }): Series | void { |
| 429 | const { inplace } = { inplace: false, ...options } |
| 430 | |
| 431 | if (this.dtypes[0] == "string") ErrorThrower.throwStringDtypeOperationError("pow") |
| 432 | |
| 433 | const newData = _genericMathOp({ ndFrame: this, other, operation: "pow" }) |
| 434 | |
| 435 | if (inplace) { |
| 436 | this.$setValues(newData as ArrayType1D) |
| 437 | } else { |
| 438 | return utils.createNdframeFromNewDataWithOldProps({ ndFrame: this, newData, isSeries: true }) as Series |
| 439 | } |
| 440 | } |
| 441 | |
| 442 | /** |
| 443 | * Return Modulo of series and other, element-wise (binary operator mod). |
nothing calls this directly
no test coverage detected