Question: argmax' is deprecated. use 'idxmax' instead?
Answer: argmax is deprecated, use idxmax instead. The behavior of argmax will be corrected to return the positional maximum in the future. For now, use series. ... array(values)) to get the position of the maximum row but it just returns the max value.