* Returns "greater than or equal to" between dataframe and other. * @param other DataFrame, Series, Array or Scalar number to compare with * @param options.axis 0 or 1. If 0, add column-wise, if 1, add row-wise * @example * ``` * const df = new DataFrame([[1, 2], [3, 4]], { co
(other: DataFrame | Series | number | Array<number>, options?: { axis?: 0 | 1 })
| 1275 | * ``` |
| 1276 | */ |
| 1277 | ge(other: DataFrame | Series | number | Array<number>, options?: { axis?: 0 | 1 }): DataFrame { |
| 1278 | const { axis } = { axis: 1, ...options } |
| 1279 | |
| 1280 | if (this.$frameIsNotCompactibleForArithmeticOperation()) { |
| 1281 | throw Error("TypeError: ge operation is not supported for string dtypes"); |
| 1282 | } |
| 1283 | |
| 1284 | if ([0, 1].indexOf(axis) === -1) { |
| 1285 | throw Error("ParamError: Axis must be 0 or 1"); |
| 1286 | } |
| 1287 | |
| 1288 | const tensors = this.$getTensorsForArithmeticOperationByAxis(other, axis); |
| 1289 | return this.$logicalOps(tensors, "ge") |
| 1290 | } |
| 1291 | |
| 1292 | /** |
| 1293 | * Return number of non-null elements in a Series |
nothing calls this directly
no test coverage detected