code: def test_shuffle_expr() -> None:
      # pl.set_random_seed should lead to reproducible results.
      s = pl.Series("a", range(20))
  
      pl.set_random_seed(1)
      result1 = pl.select(pl.lit(s).shuffle()).to_series()
  
      pl.set_random_seed(1)
      result2 = pl.select(pl.lit(s).shuffle()).to_series()
      assert_series_equal(result1, result2)
  
file_path: polars/py-polars/tests/unit/operations/test_random.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 9 for calling a global function with example usage: test_shuffle_expr() without return types