I am new to python. I want to find one largest value from a grid and also show its respective row and column index label in output.The value should be absolute. (Irrespective of + or - sign) My data structure is like image shown: My data set
EleNo._ Exat0_ Exat10_ Exat20_ Exat30_ Exat40_ Exat50
1000____ 10____ 20___ -30____ 23_____ 28____ 18
2536____-20___ -36___ -33___ -38_____ 2____ -10
3562_____ 3____ 4______ 8_____ 8_____ 34_____ 4
2561_____ 2____ 4______ 7_____ 6_____ 22____ 20
I tried (df.abs().max()) but it is showing max value for every row and only positive values. I want absoulte max value.
Expected Results: what i want in output
EleNo.: 2536
Exat30 : -38
Actual Result: what i am getting in output
Element No. 3562
Exat0: 20
Exat10: 36
Exat20: 33
Exat30: 38
Exat40: 34
Exat50: 20