code: def get_quantiles(
      values: np.ndarray,
      num_quantiles: int = 11,
      interpolation="linear",
  ) -> np.ndarray:
      """
      Calculate quantiles of values in an array.
  
      Parameters
      ----------
      values
          Array of values.
      num_quantiles
          Number of quantiles to calculate.
  
      Returns
      -------
      Array of quantiles of the input values.
  
      """
      percentiles = np.linspace(0, 100, num=num_quantiles)
      quantiles = np.percentile(values, percentiles, axis=0, interpolation=interpolation)  # type: ignore[call-overload]
      return quantiles
  
imports: import copy
  import math
  import numpy
  import pandas
  from itertools import count
  from functools import partial
  from typing import Callable, List, Optional, Tuple, Union, Dict, TYPE_CHECKING, no_type_check
  import sys
  import logging
  from alibi.api.interfaces import Explainer, Explanation
  from alibi.api.defaults import DEFAULT_META_ALE, DEFAULT_DATA_ALE
label_desc: Use image node_id 1 for calling a global function with example usage: get_quantiles(values, num_quantiles, interpolation) and returns: quantiles