title: Get index of DataFrame row
body: <p>how to get back 10 from <code>df.iloc[10]</code> where <code>df = pd.DataFrame({'a':np.arange(1,12)})</code>?
  I tried df.index but it returns a weird np.array which doesn't contain anything close to 10.</p>