title: Pandas find content by label not working
body: <p>Getting Key error in Python (3.5) pandas (0.22.0) under the following circumstances.
  importing this csv data for example:</p>
  
  <pre><code>'First', 'Name', 'Second', 'Number', 'Another Number', 'Random Exclamation', 'Time', 'Left', 'Anyway'
  91004, 'Freddy', 1.518990585, 1.1000082, 5790, 'Hooray', 7241606319.947, 1939238254.77354879, 1.215094577191377
  </code></pre>
  
  <p>I import it thus:</p>
  
  <pre><code>test=pd.read_csv('test.csv')
  </code></pre>
  
  <p>I can do this:</p>
  
  <pre><code>&gt;&gt;&gt; test.dtypes
  'First'                   int64
  'Name'                   object
  'Second'                float64
  'Number'                float64
  'Another Number'          int64
  'Random Exclamation'     object
  'Time'                  float64
  'Left'                  float64
  'Anyway'                float64
  dtype: object
  </code></pre>
  
  <p>and this:</p>
  
  <pre><code>&gt;&gt;&gt; test.loc[0]
  'First'                       91004
  'Name'                     'Freddy'
  'Second'                    1.51899
  'Number'                    1.10001
  'Another Number'               5790
  'Random Exclamation'       'Hooray'
  'Time'                  7.24161e+09
  'Left'                  1.93924e+09
  'Anyway'                    1.21509
  Name: 0, dtype: object
  </code></pre>
  
  <p>And this:</p>
  
  <pre><code>&gt;&gt;&gt;test.loc[0][0]
  91004    
  </code></pre>
  
  <p>But if I try this:</p>
  
  <pre><code>&gt;&gt;&gt;test.loc['First']
  </code></pre>
  
  <p>or this:</p>
  
  <pre><code>&gt;&gt;&gt;test.loc[0, 'First']
  </code></pre>
  
  <p>I get this:</p>
  
  <pre><code>KeyError: 'the label [First] is not in the [index]'
  </code></pre>
  
  <p>This is the most concise example of my problem. I have tried many combinations of trying to access data by label which I won't bore you with and none of them work. I have tried lots of similar test data as well as removing all the spaces from the csv on the off chance but it makes no difference.
  How on earth do I access data in my frame by label?
  I am new to pandas and have googled this for hours. This usually means I am being very stupid so any help appreciated. Thanks.</p>