MCPcopy Create free account
hub / github.com/javascriptdata/danfojs / eq

Method eq

src/danfojs-base/core/series.ts:1437–1439  ·  view source on GitHub ↗

* Returns Equal to of series and other. Supports element wise operations * @param other Series, number or Array of numbers to compare against * @example * ``` * const sf = new Series([1, 2, 3, 4, 5, 6]); * const sf2 = sf.eq(3); * console.log(sf2.values);

(other: Series | number | Array<number> | boolean[])

Source from the content-addressed store, hash-verified

1435 * ```
1436 */
1437 eq(other: Series | number | Array<number> | boolean[]): Series {
1438 return this.boolOps(other, "eq");
1439 }
1440
1441 /**
1442 * Internal function to perform boolean operations

Callers

nothing calls this directly

Calls 1

boolOpsMethod · 0.95

Tested by

no test coverage detected