nodejs-polars
    Preparing search index...

    Function date

    • Create an expression of type Date from its components.

      Parameters

      Returns pl.Expr

      > const df = pl.DataFrame({ month: [1, 2], day: [3, 4] });
      > df.select(pl.date(2024, pl.col("month"), pl.col("day")));
      shape: (2, 1)
      ┌────────────┐
      │ date │
      │ --- │
      │ date │
      ╞════════════╡
      │ 2024-01-03 │
      │ 2024-02-04 │
      └────────────┘