expression returns the last two rows of df code example Example: print last n rows of dataframe df1.tail(n)