code: def quantile(ary, q, axis=None, limit=None):
      """Use same quantile function as R (Type 7)."""
      if limit is None:
          limit = tuple()
      return mquantiles(
          ary, q, alphap=1, betap=1, axis=axis, limit=limit
      )
  
imports: import warnings
  from collections.abc import Sequence
  from copy import copy
  from copy import deepcopy
  import numpy
  import pandas
  from scipy.fftpack import next_fast_len
  from scipy.interpolate import CubicSpline
  from scipy.stats.mstats import mquantiles
  from xarray import apply_ufunc
  from ..None import _log
  from ..utils import conditional_jit, conditional_vect, conditional_dask
  from .density_utils import histogram
label_desc: Use image node_id 7 for calling a global function with example usage: quantile(ary, q, axis, limit) and returns: mquantiles