[Tutor] How to calculate high value from multiple lines for each column

Fosiul Alam fosiul at gmail.com
Tue Feb 16 17:28:19 EST 2016


Hi
I am very new to python, basically , I want to get the Maximum value for
each column

                  0.000           0.000           0.000        0
(0.0%)           0.000           0.600
                  0.000           3.000           6.000        1
(0.0%)           0.300           0.000
                  3.000           0.000           0.000        0
(0.0%)           0.000           0.000
                  5.000           0.000           0.000        1
(0.0%)           0.200           0.000
                  0.000           7.000           3.000        0
(0.0%)           0.000           1.000
                  0.000           0.000           0.000        0
(0.0%)           0.000           0.000
                  0.000           0.000           0.000        0
(0.0%)           0.000           0.000

So  maximum value for 1st column=5
      maximum value for 2nd column = 7
      maximum value for 3rd colun =6
       .......................

How can I do this ?
i will be really greatfull if some give any hits.

Thanks for the help.


More information about the Tutor mailing list