code: def test_lazy_n_rows(foods_file_path: Path) -> None:
      df = (
          pl.scan_csv(foods_file_path, n_rows=4, row_count_name="idx")
          .filter(pl.col("idx") > 2)
          .collect()
      )
      assert df.to_dict(as_series=False) == {
          "idx": [3],
          "category": ["fruit"],
          "calories": [60],
          "fats_g": [0.0],
          "sugars_g": [11],
      }
  
imports: from __future__ import annotations
  from collections import OrderedDict
  from typing import TYPE_CHECKING
  import numpy
  import pytest
  import polars
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 10 for calling a global function with example usage: test_lazy_n_rows(foods_file_path) without return types