(other: Series | number | Array<number>, options?: { inplace?: boolean })
| 389 | */ |
| 390 | div(other: Series | number | Array<number>, options?: { inplace?: boolean }): Series |
| 391 | div(other: Series | number | Array<number>, options?: { inplace?: boolean }): Series | void { |
| 392 | const { inplace } = { inplace: false, ...options } |
| 393 | |
| 394 | if (this.dtypes[0] == "string") ErrorThrower.throwStringDtypeOperationError("div") |
| 395 | |
| 396 | const newData = _genericMathOp({ ndFrame: this, other, operation: "div" }) |
| 397 | |
| 398 | if (inplace) { |
| 399 | this.$setValues(newData as ArrayType1D) |
| 400 | } else { |
| 401 | return utils.createNdframeFromNewDataWithOldProps({ ndFrame: this, newData, isSeries: true }) as Series |
| 402 | } |
| 403 | } |
| 404 | |
| 405 | /** |
| 406 | * Return Exponential power of series and other, element-wise (binary operator pow). |
nothing calls this directly
no test coverage detected