df
Return rows by label.
df.loc[2:2]
Return rows by location.
df.iloc[1:2]
Return rows using a function.
df.iloc[lambda r: r.index % 2 == 0]