AnsweredAssumed Answered

Getting the field name that contains a max value in python

Question asked by mkaminow on Jun 27, 2018
Latest reply on Jul 2, 2018 by Dan_Patterson

I am trying to get the name of a field that contains the maximum value across several rows.  Getting the maximum number is easy, I would just use max(a, b, c...).  But I would like the field name of that is associated with each high value.  Example:

 

F1F2F3
2348
1941
3722

 

So max in python would give me

34

19

22

 

But what I want is

F2

F1

F3

 

Any suggestions? 

Outcomes