Human: how to get 2 last row of a list in. Assistant: 
Here is a Python function to get 2 last rows of a list

import pandas as pd

def get_last_two_rows(list_of_rows):
    """Get 2 last row of a list in."""
    return list_of_rows[-2:]

# Enter the dataframe
df = pd.DataFrame({'age': [1, 2, 3], 'name': ['hibiscus','bicycle', 'bird']})

# Calling the function
last_two_rows = get_last_two_rows(df)

# Printing the last two rows
print(last_two_rows)

#Example Output

#    age     name
# 1    2  bicycle
# 2    3     bird

#Remember to inspect code for bugs.