title: Delete wrong values from an array with help of panda
body: <p>I have a problem with my data, there are a number of displacement in different times. But unfortunately in some cases for one time I have 2 or 3 different displacements, of which only the higher value is acceptable.</p>
  <p>I used Panda and now I have all the values in my paython code and change them to a 2X2 array.</p>
  <p>Acctually I need to write an algorithm to find all the duplicates t and check their x and delete the whole line if x is lower than in other cases.</p>
  <p>I would really appreciate for any ideas.</p>
  <p>t  x</p>
  <p>1  2</p>
  <p>2  3</p>
  <p>3  4</p>
  <p>4  5</p>
  <p>5  5</p>
  <p>3  3</p>
  <p>1  1</p>
  <p>7  5</p>
  <p>I have written an example. I need here for the &quot;Time&quot; equal to 3 and 1 to delete the whole line that has a lower x.</p>