code: def test_quantile_ea(self, request, obj, index):
      # result should be invariant to shuffling
      indexer = np.arange(len(index), dtype=np.intp)
      np.random.default_rng(2).shuffle(indexer)
      obj = obj.iloc[indexer]
  
      qs = [0.5, 0, 1]
      result = self.compute_quantile(obj, qs)
  
      exp_dtype = index.dtype
      if index.dtype == "Int64":
          # match non-nullable casting behavior
          exp_dtype = "Float64"
  
      # expected here assumes len(index) == 9
      expected = Series(
          [index[4], index[0], index[-1]],
          dtype=exp_dtype,
          index=qs,
          name="A",
      )
      expected = type(obj)(expected)
  
      tm.assert_equal(result, expected)
  
imports: import numpy
  import pytest
  import pandas
  from pandas import DataFrame, Index, Series, Timestamp
  import pandas._testing
label_desc: Use image node_id 4 for calling the TestQuantileExtensionDtype obj's underlying member method code with example usage: obj.test_quantile_ea(request, obj, index) without return types