def argmax(self, axis=None, skipna=True, *args, **kwargs):
nv.validate_argmax(args, kwargs)<EOL>nv.validate_minmax_axis(axis)<EOL>i8 = self.asi8<EOL>if self.hasnans:<EOL><INDENT>mask = self._isnan<EOL>if mask.all() or not skipna:<EOL><INDENT>return -<NUM_LIT:1><EOL><DEDENT>i8 = i8.copy()<EOL>i8[mask] = <NUM_LIT:0><EOL><DEDENT>return i8.argmax()<EOL>
Returns the indices of the maximum values along an axis.

See `numpy.ndarray.argmax` for more information on the
`axis` parameter.

See Also
--------
numpy.ndarray.argmax