code: def _unique_indicator(y):
      return np.arange(
          check_array(
              y, input_name="y", accept_sparse=["csr", "csc", "coo"]
          ).shape[1]
      )
  
file_path: catboost/contrib/python/scikit-learn/py3/sklearn/utils/multiclass.py
imports: import warnings
  from collections.abc import Sequence
  from itertools import chain
  import numpy
  from scipy.sparse import issparse
  from ..utils._array_api import get_namespace
  from ..utils.fixes import VisibleDeprecationWarning
  from .validation import _assert_all_finite, check_array
label_desc: Use image node_id 2 for calling a global function with example usage: _unique_indicator(y) and returns: np