code: def _inverse_permutation(p):
      """inverse permutation p"""
      n = p.size
      s = np.zeros(n, dtype=np.int32)
      i = np.arange(n, dtype=np.int32)
      np.put(s, p, i)  # s[p] = i
      return s
  
file_path: catboost/contrib/python/scikit-learn/py2/sklearn/datasets/rcv1.py
imports: import logging
  from os.path import exists, join
  from gzip import GzipFile
  from io import BytesIO
  from contextlib import closing
  import numpy
  import scipy.sparse
  from .base import get_data_home
  from .base import Bunch
  from .base import _pkl_filepath
  from ..utils.fixes import makedirs
  from ..externals import joblib
  from .svmlight_format import load_svmlight_files
  from ..utils import shuffle
label_desc: Use image node_id 2 for calling a global function with example usage: _inverse_permutation(p) and returns: s