code: def test_quantiles(self):
      quant = np.asarray(self.quantiles, dtype=np.float64)
      for return_pandas in False, True:
          qtl = self.descriptive.quantile(
              self.quantile_probs, return_pandas=return_pandas
          )
          qtl = np.asarray(qtl, dtype=np.float64)
          assert_allclose(qtl, quant, rtol=1e-4)
  
imports: import numpy
  from scipy import stats
  import pandas
  from numpy.testing import assert_, assert_almost_equal, assert_allclose
  from statsmodels.stats.weightstats import DescrStatsW, CompareMeans, ttest_ind, ztest, zconfint
  from statsmodels.tools.testing import Holder
label_desc: Use image node_id 8 for calling the CheckExternalMixin obj's underlying member method code with example usage: obj.test_quantiles() without return types