Then show the last 4 rows of the DF pandas code example Example: location of last row dataframe rows = df.iloc[-2:]