how to see last 10 row of data dataframe pandas code example Example: print last n rows of dataframe df1.tail(n)