SyntaxFix
Write A Post
Hire A Developer
Questions
Pandas has now got a much more gentle solution, try it:
df[column].idxmax()