How to slice a Pandas Data Frame by position?
You can also do as a convenience:
df[:10]
http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.head.html?highlight=head#pandas.DataFrame.head
df2 = df.head(10)
should do the trick