I am working with sports stats data and want to extract stats from past 3 years. If I have a dataframe with player and year, how can I extract rows from another dataframe that has matching player, and same year and the previous 2?

```py
df1 = pd.DataFrame([['ABC',2018,5,2,3],
['ABC',2017,52,21,31],['ABC',2016,15,12,13],
['ABC',2015,25,22,3]],
columns=['Player','Year','GS','G','MP'])

df1=

Player Year GS G  MP
ABC    2018  5  2  3
ABC    2017 52 21 31
ABC    2016 15 12 13
ABC    2015 25 22 3

```

```py
df2 = pd.DataFrame([["ABC",2017]], columns=['Player','Year'])

df2=

Player Year
ABC    2017

```

this should result in

```py
Player Year GS G  MP
ABC    2017 52 21 31
ABC    2016 15 12 13
ABC    2015 25 22 3

```

Eventually I want to do summations but extracting this make that much easier. Is there a pythonic way to do this using merge or filter?