I have a dataframe df, where I need to find if some id has changed its team value along the season:
df
id
team
id team 1 Liv