code: def argsort_k_smallest(x, k):
      """Return no more than ``k`` indices of smallest values."""
      if k == 0:
          return np.array([], dtype=np.intp)
      if k is None or k >= len(x):
          return np.argsort(x)
      indices = np.argpartition(x, k)[:k]
      values = x[indices]
      return indices[np.argsort(values)]
  
file_path: eli5/eli5/utils.py
imports: import numpy
  from scipy import sparse
label_desc: Use image node_id 3 for calling a global function with example usage: argsort_k_smallest(x, k) and returns: indices, np, np