title: Pandas iloc vs direct slicing?
body: <p>I've read a lot of discussion about iloc vs loc and I understand the difference but what I don't understand is what's the difference between:</p>
  
  <pre><code>indexed_data['var'][0:10]
  </code></pre>
  
  <p>vs</p>
  
  <pre><code>indexed_data['var'].iloc[0:10]
  </code></pre>
  
  <p>These seem to be the same thing and give the same output.</p>
  
  <p>Am I missing something? Thanks!</p>