code: def percentile(a, q, method="linear"):
      if _numpy_122:
          return np.percentile(a, q, method=method)
      else:
          return np.percentile(a, q, interpolation=method)
  
file_path: dask/dask/array/numpy_compat.py
imports: from __future__ import annotations
  import warnings
  import numpy
  from packaging.version import parse
  from dask.utils import derived_from
label_desc: Use image node_id 3 for calling a global function with example usage: percentile(a, q, method) and returns: np, np