title: Return Name of first record df.iloc[0] using Python numpy
body: <p>I am new to Python and am trying to create a function that returns the Name of a record in a dataset using numpy.  I have sorted the data in descending order based on the column 'silver medals'to retrieve the record that I would like to return.  I'm sure there is an easier way to get the top value but I'm new to this and am trying to learn one step at a time....</p>
  
  <pre><code>df.sort_values(by=['silver medals'], inplace =True, ascending=False)
  </code></pre>
  
  <p>when I use</p>
  
  <pre><code>df.iloc[0] 
  </code></pre>
  
  <p>to return the record details i can see at the bottom of the information it says:</p>
  
  <p>Detail.....</p>
  
  <p>Name: Country Name, dtype: object</p>
  
  <p>I can use the below to return the abbreviated country name</p>
  
  <pre><code>df['ID'].iloc[0]
  </code></pre>
  
  <p>however I am trying to return the full name....  I believe the column that has the full name in it is index 0 and does not have any header data... so I'm not sure how to reference the column</p>
  
  <p>I have tried the following but none of them seems to work.... what am i doing incorrectly?  Any help would be appreciated</p>
  
  <pre><code>   df[0].iloc[0]
     df[''].iloc[0]
     df[' '].iloc[0]
  </code></pre>