code: def test_dd_median(self):
      X = self.X
      v = self.v
  
      stat1, edges1, bc = binned_statistic_dd(X, v, "median", bins=3)
      stat2, edges2, bc = binned_statistic_dd(X, v, np.median, bins=3)
  
      assert_allclose(stat1, stat2)
      assert_allclose(edges1, edges2)
  
imports: from __future__ import division, print_function, absolute_import
  import numpy
  from numpy.testing import assert_allclose
  from scipy.stats import binned_statistic, binned_statistic_2d, binned_statistic_dd
  from scipy._lib.six import u
  from .common_tests import check_named_results
label_desc: Use image node_id 33 for calling the TestBinnedStatistic obj's underlying member method code with example usage: obj.test_dd_median() without return types