title: Get column name based on condition in pandas
body: <p>I have a dataframe as below:
  <a href="https://i.stack.imgur.com/TgkOg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TgkOg.png" alt="enter image description here" /></a></p>
  <p>I want to get the name of the column if column of a particular row if it contains 1 in the that column.</p>