Get last n records of a Pandas DataFrame code example Example: print last n rows of dataframe df1.tail(n)