code: def test_rolling_median_2() -> None:
      np.random.seed(12)
      n = 1000
      df = pl.DataFrame({"x": np.random.normal(0, 1, n)})
      # this can differ because simd sizes and non-associativity of floats.
      assert df.select(
          pl.col("x").rolling_median(window_size=10).sum()
      ).item() == pytest.approx(5.139429061527812)
      assert df.select(
          pl.col("x").rolling_median(window_size=100).sum()
      ).item() == pytest.approx(26.60506093611384)
  
imports: from __future__ import annotations
  from datetime import date, datetime, timedelta
  from typing import TYPE_CHECKING
  import numpy
  import pytest
  from numpy import nan
  import polars
  from polars.exceptions import ComputeError
  from polars.testing import assert_frame_equal, assert_series_equal
label_desc: Use image node_id 29 for calling a global function with example usage: test_rolling_median_2() without return types