code: def reduce(
      function: Callable[[Series, Series], Series],
      exprs: Sequence[Expr | str] | Expr,
  ) -> Expr:
      """
      Accumulate over multiple columns horizontally/ row wise with a left fold.
  
      Parameters
      ----------
      function
          Function to apply over the accumulator and the value.
          Fn(acc, value) -> new_value
      exprs
          Expressions to aggregate over. May also be a wildcard expression.
  
      Notes
      -----
      See `fold` for the version with an explicit accumulator.
  
      Examples
      --------
      >>> df = pl.DataFrame(
      ...     {
      ...         "a": [1, 2, 3],
      ...         "b": [0, 1, 2],
      ...     }
      ... )
      >>> df
      shape: (3, 2)
      ┌─────┬─────┐
      │ a   ┆ b   │
      │ --- ┆ --- │
      │ i64 ┆ i64 │
      ╞═════╪═════╡
      │ 1   ┆ 0   │
      │ 2   ┆ 1   │
      │ 3   ┆ 2   │
      └─────┴─────┘
  
      Horizontally sum over all columns.
  
      >>> df.select(
      ...     pl.reduce(function=lambda acc, x: acc + x, exprs=pl.col("*")).alias("sum")
      ... )
      shape: (3, 1)
      ┌─────┐
      │ sum │
      │ --- │
      │ i64 │
      ╞═════╡
      │ 1   │
      │ 3   │
      │ 5   │
      └─────┘
  
      """
      # in case of col("*")
      if isinstance(exprs, pl.Expr):
          exprs = [exprs]
  
      exprs = parse_as_list_of_expressions(exprs)
      return wrap_expr(plr.reduce(function, exprs))
  
imports: from __future__ import annotations
  import contextlib
  from typing import TYPE_CHECKING, Any, Callable, Iterable, Sequence, overload
  import polars._reexport
  import polars.functions
  from polars.datatypes import DTYPE_TEMPORAL_UNITS, Date, Datetime, Int64
  from polars.utils._async import _AioDataFrameResult, _GeventDataFrameResult
  from polars.utils._parse_expr_input import parse_as_expression, parse_as_list_of_expressions
  from polars.utils._wrap import wrap_df, wrap_expr
  from polars.utils.deprecation import deprecate_renamed_function
label_desc: Use image node_id 21 for calling a global function with example usage: reduce(function, exprs) and returns: wrap_expr