code: def test_reduction():
      ser = pd.Series(
          DecimalArray._from_sequence([Decimal("0"), Decimal("1")])
      )
      dser = dd.from_pandas(ser, 2)
      assert_eq(ser.mean(skipna=False), dser.mean(skipna=False))
  
file_path: dask/dask/dataframe/tests/test_extensions.py
imports: from __future__ import annotations
  from decimal import Decimal
  import pytest
  import dask.dataframe
  from dask.dataframe.utils import assert_eq
  from pandas.tests.extension.decimal.array import DecimalArray, DecimalDtype
  from dask.dataframe.extensions import make_array_nonempty, make_scalar
label_desc: Use image node_id 4 for calling a global function with example usage: test_reduction() without return types