Hi I am trying to understand how efficient pd.DataFrame.idxmax
to see if it is worth replacing with a custom algorithm which might be more efficient (ie using binary search for example).
I would like to understand the algorithm behind this method or at least its complexity however I have had no luck so far. Any help would be appreciated, thanks.