I love using the .head() and .tail() functions in pandas to circumstantially display a certain amount of rows (sometimes I want less, sometimes I w
.head()
.tail()
Transpose it to use head and go back
df.T.head().T
to avoid index slicing or custom methods.