title: CSV data - max values for segments of columns using numpy
body: <p>So Let's say I have a csv file with data like so:</p>
  
  <pre><code>'time'  'speed'
  0       2.3
  0       3.4
  0       4.1
  0       2.1
  1       1.3
  1       3.5
  1       5.1
  1       1.1
  2       2.3
  2       2.4
  2       4.4
  2       3.9
  </code></pre>
  
  <p>I want to be able to return this file so that for each increasing number under the header 'time', I fine the max number found in the column speed and return that number for speed next to the number for time in an array. The actual csv file I'm using is a lot larger so I'd want to iterate over a big mass of data and not just run it where 'time' is 0, 1, or 2.</p>
  
  <p>So basically I want this to return:</p>
  
  <pre><code>array([[0,41], [1,5.1],[2,4.4]]) 
  </code></pre>
  
  <p>Using numpy specifically. </p>