title: python- How do I get a header(or column name) from data?
body: <p><a href="https://i.stack.imgur.com/DiaOe.png" rel="nofollow noreferrer">PICTURE</a>
  I want to get a column name when the data is under 10.
  I can get or connect to the data using loc or iloc but I couldn't find a function or something to get a column name.</p>
  <p>ex) if date of <code>220609</code> , <code>MANGO = 7</code> and <code>220610</code>, <code>Mango=2</code>, then I need to do like this;</p>
  <pre><code>if df.iloc[0,1:]&lt;10==True:
  </code></pre>
  <p><strong>then I want to get 220609 and 220610</strong></p>
  <p>I dont know how I make a code for this in order to get a column name for each items.</p>
  <p>what should I do?
  Thank you!</p>