class_docstr: Mixin for min and max methods.
  
  These are not implemented for dia_matrix, hence the separate class.
class_docstr_tok: ["Mixin","for","min","and","max","methods",".","These","are","not","implemented","for","dia_matrix",",","hence","the","separate","class","."]
docstr: Return indices of maximum elements along an axis.
  
  Implicit zero elements are also taken into account. If there are
  several maximum values, the index of the first occurrence is returned.
  
  Parameters
  ----------
  axis : {-2, -1, 0, 1, None}, optional
      Axis along which the argmax is computed. If None (default), index
      of the maximum element in the flatten data is returned.
  out : None, optional
      This argument is in the signature *solely* for NumPy
      compatibility reasons. Do not pass in anything except for
      the default value, as this argument is not used.
  
  Returns
  -------
  ind : numpy.matrix or int
      Indices of maximum elements. If matrix, its size along `axis` is 1.
docstr_tok: ["Return","indices","of","maximum","elements","along","an","axis",".","Implicit","zero","elements","are","also","taken","into","account",".","If","there","are","several","maximum","values",",","the","index","of","the","first","occurrence","is","returned",".","Parameters","--","--","--","--","--","axis",":","{","-2",",","-1",",","0",",","1",",","None","}",",","optional","Axis","along","which","the","argmax","is","computed",".","If","None","(","default",")",",","index","of","the","maximum","element","in","the","flatten","data","is","returned",".","out",":","None",",","optional","This","argument","is","in","the","signature","*","solely","*","for","NumPy","compatibility","reasons",".","Do","not","pass","in","anything","except","for","the","default","value",",","as","this","argument","is","not","used",".","Returns","--","--","--","-","ind",":","numpy.matrix","or","int","Indices","of","maximum","elements",".","If","matrix",",","its","size","along","`","axis","`","is","1","."]
code: def argmax(self, axis=None, out=None):
      """Return indices of maximum elements along an axis.
  
      Implicit zero elements are also taken into account. If there are
      several maximum values, the index of the first occurrence is returned.
  
      Parameters
      ----------
      axis : {-2, -1, 0, 1, None}, optional
          Axis along which the argmax is computed. If None (default), index
          of the maximum element in the flatten data is returned.
      out : None, optional
          This argument is in the signature *solely* for NumPy
          compatibility reasons. Do not pass in anything except for
          the default value, as this argument is not used.
  
      Returns
      -------
      ind : numpy.matrix or int
          Indices of maximum elements. If matrix, its size along `axis` is 1.
      """
      return self._arg_min_or_max(axis, out, np.argmax, np.greater)
  
imports: import numpy
  from ._base import _spbase, _ufuncs_with_fixed_point_at_zero
  from ._sputils import isscalarlike, validateaxis
label_desc: Use image node_id 9 for calling the _minmax_mixin obj's underlying member method code with example usage: obj.argmax(axis, out) and returns: self