code: def test_mean_2d(self):
      tdi = pd.timedelta_range("14 days", periods=6)
      tda = tdi._data.reshape(3, 2)
  
      result = tda.mean(axis=0)
      expected = tda[1]
      tm.assert_timedelta_array_equal(result, expected)
  
      result = tda.mean(axis=1)
      expected = tda[:, 0] + Timedelta(hours=12)
      tm.assert_timedelta_array_equal(result, expected)
  
      result = tda.mean(axis=None)
      expected = tdi.mean()
      assert result == expected
  
file_path: pandas/pandas/tests/arrays/timedeltas/test_reductions.py
imports: import numpy
  import pytest
  import pandas
  from pandas import Timedelta
  import pandas._testing
  from pandas.core import nanops
  from pandas.core.arrays import TimedeltaArray
label_desc: Use image node_id 10 for calling the TestReductions obj's underlying member method code with example usage: obj.test_mean_2d() without return types