Mar 22, 2021
Thanks for your reply. As far as I know, idxmax and idxmin are equivalent to argmin and argmax. We actually don’t want the highest maximum and the lowest minimun. We want the highest and lowest swings. That’s why we need to calculate them correctly.