code: def test_scan_slice_streaming(io_files_path: Path) -> None:
      foods_file_path = io_files_path / "foods1.csv"
      df = pl.scan_csv(foods_file_path).head(5).collect(streaming=True)
      assert df.shape == (5, 4)
  
file_path: polars/py-polars/tests/unit/streaming/test_streaming_io.py
imports: from __future__ import annotations
  import unittest
  from typing import TYPE_CHECKING
  import pytest
  import polars
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 2 for calling a global function with example usage: test_scan_slice_streaming(io_files_path) without return types