code: def test_map_rows_shifted_chunks() -> None:
      df = pl.DataFrame(
          pl.Series("texts", ["test", "test123", "tests"])
      )
      df = df.select(
          pl.col("texts"),
          pl.col("texts").shift(1).alias("texts_shifted"),
      )
  
      result = df.map_rows(lambda x: x)
  
      expected = pl.DataFrame(
          {
              "column_0": ["test", "test123", "tests"],
              "column_1": [None, "test", "test123"],
          }
      )
      assert_frame_equal(result, expected)
  
file_path: polars/py-polars/tests/unit/operations/map/test_map_rows.py
imports: from __future__ import annotations
  from typing import Any
  import pytest
  import polars
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_map_rows_shifted_chunks() without return types