nodejs-polars
    Preparing search index...

    Function allHorizontal

    • Compute the bitwise AND horizontally across columns.

      Parameters

      • exprs: ExprOrString | ExprOrString[]

      Returns pl.Expr

       >>> const df = pl.DataFrame(
      {
      "a": [false, false, true, true],
      "b": [false, true, null, true],
      "c": ["w", "x", "y", "z"],
      }
      )
      >>> df.withColumns(pl.allHorizontal([pl.col("a"), pl.col("b")]))
      shape: (4, 4)
      ┌───────┬───────┬─────┬───────┐
      abcall
      │ --- ┆ --- ┆ --- ┆ --- │
      boolboolstrbool
      ╞═══════╪═══════╪═════╪═══════╡
      falsefalsewfalse
      falsetruexfalse
      truenullynull
      truetrueztrue
      └───────┴───────┴─────┴───────┘