code: def test_cut_include_breaks_lazy_schema() -> None:
      lf = pl.LazyFrame({"a": [-2, -1, 0, 1, 2]})
  
      result = lf.select(
          pl.col("a").cut([-1, 1], include_breaks=True).alias("cut")
      ).unnest("cut")
  
      expected = pl.LazyFrame(
          {
              "brk": [-1.0, -1.0, 1.0, 1.0, inf],
              "a_bin": [
                  "(-inf, -1]",
                  "(-inf, -1]",
                  "(-1, 1]",
                  "(-1, 1]",
                  "(1, inf]",
              ],
          },
          schema_overrides={"a_bin": pl.Categorical},
      )
      assert_frame_equal(result, expected, categorical_as_str=True)
  
file_path: polars/py-polars/tests/unit/operations/test_cut.py
imports: from __future__ import annotations
  import pytest
  import polars
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 4 for calling a global function with example usage: test_cut_include_breaks_lazy_schema() without return types