I know that
df.iloc[-1] shows only the last row,
You can check slice notation for list, same principe is used here.
So
df.iloc[-10:,:]
show(select) last 10 rows, same ouput is if use DataFrame.tail:
DataFrame.tail
df.tail(10)