code: def _slice_at_axis(sl, axis):
      """
      Construct tuple of slices to slice an array in the given dimension.
  
      Parameters
      ----------
      sl : slice
          The slice for the given dimension.
      axis : int
          The axis to which `sl` is applied. All other dimensions are left
          "unsliced".
  
      Returns
      -------
      sl : tuple of slices
          A tuple with slices matching `shape` in length.
  
      Examples
      --------
      >>> _slice_at_axis(slice(None, 3, -1), 1)
      (slice(None, None, None), slice(None, 3, -1), (...,))
      """
      return (slice(None),) * axis + (sl,) + (...,)
  
file_path: catboost/contrib/python/numpy/py3/numpy/lib/arraypad.py
imports: import numpy
  from numpy.core.overrides import array_function_dispatch
  from numpy.lib.index_tricks import ndindex
label_desc: Use image node_id 2 for calling a global function with example usage: _slice_at_axis(sl, axis) and returns: unknown