code: def test_qcut_include_breaks() -> None:
      s = pl.int_range(-2, 3, eager=True).alias("a")
  
      out = s.qcut(
          [0.0, 0.25, 0.75],
          labels=["a", "b", "c", "d"],
          include_breaks=True,
      )
  
      expected = pl.DataFrame(
          {
              "break_point": [-2.0, -1.0, 1.0, 1.0, inf],
              "category": ["a", "b", "c", "c", "d"],
          },
          schema_overrides={"category": pl.Categorical},
      ).to_struct("a")
      assert_series_equal(out, expected, categorical_as_str=True)
  
file_path: polars/py-polars/tests/unit/operations/test_qcut.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_qcut_include_breaks() without return types