title: Selecting Line of Pandas DataFrame by a String Index
body: <p>I have a pandas dataframe of the form:</p>
  <p><a href="https://i.stack.imgur.com/gdeuZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gdeuZ.png" alt="enter image description here" /></a></p>
  <p>Where &quot;it&quot;, &quot;their&quot; and &quot;charact&quot; are the indexes. How can I select a value based on the index? When I try the following:</p>
  <pre><code>corpus_df.iloc['it',1]
  </code></pre>
  <p>I get an error:</p>
  <pre><code>ValueError: Location based indexing can only have [integer, integer slice (START point is INCLUDED, END point is EXCLUDED), listlike of integers, boolean array] types
  </code></pre>