title: pandas dataframe, skip index if condition is meet
body: <p>I want to skip the index of a data frame output only if specific conditions are met. <code>A</code> it's a special id for seller. <code>B</code> it's the selling price. Type is selling type.</p>
  <pre><code>import pandas
  
  Data= []
  Data+=[{&quot;A&quot;: &quot;ID_1&quot;, &quot;Special&quot;:{&quot;type&quot;: &quot;USD&quot;},&quot;B&quot;: &quot;0.11&quot;,}]
  Data+=[{&quot;A&quot;: &quot;ID_2&quot;, &quot;Special&quot;:{&quot;type&quot;: &quot;EUR&quot;},&quot;B&quot;: &quot;0.122&quot;,}]
  Data+=[{&quot;A&quot;: &quot;ID_3&quot;, &quot;Special&quot;:{&quot;type&quot;: &quot;EUR&quot;},&quot;B&quot;: &quot;0.1444&quot;,}]
  
  Data = pandas.DataFrame(Data)
  Data = Data.sort_values(by=['B'], ascending=False)
  
  seller = Data['A'][Data.index[-1]]
  price  = Data['B'][Data.index[-1]]
  
  print('{} {}'.format(seller, price))
  </code></pre>
  <p>As you can see, I will have many records, pandas will iterate data and assign an index for each <code>{ ... }</code> also will be sorted based on B value which is price, it will display the lowest price.</p>
  <p>Want I want is a check to display the lowest price AND seller just if the type is EUR (Ignore all records that have type USD)... How I can do that? I tried to explain as well as I can... Thanks.</p>
  <p>Online compileable example:  <a href="https://www.online-python.com/Bxj2OY3els" rel="nofollow noreferrer">https://www.online-python.com/Bxj2OY3els</a></p>