title: Select row from a DataFrame based on values in a column in pandas
body: <pre><code>df.loc[df['column_name'] == some_value]
  </code></pre>
  
  <p>selects data from a row or rows in a dataframe given the specified column.</p>
  
  <p>What is the equivalent if I need to specify the 'row name' ?</p>