Maximum value of a tuple
<p>I've this tuple:</p>

<pre><code>lpfData = ((0.0, 0.0), (0.100000001490116, 0.0879716649651527), ..., (1.41875004768372, 0.481221735477448),..., (45.1781234741211, 0.11620718985796))
</code></pre>

<p>and I want to find the maximum value of the second column. So I use:</p>

<pre><code>maxLPFt = max(lpfData)
maxLPF = maxLPFt[1]
</code></pre>

<p>But I get always the value of the second column coupled with the maximum value of the first column. Basic stuff but google didn't help.</p>

<p>Cheers</p>

<p>Joao</p>
