intent: How can I "unpivot" specific columns from a pandas DataFrame?
rewritten_intent: unpivot first 2 columns into new columns 'year' and 'value' from a pandas dataframe `x`
snippet: pd.melt(x, id_vars=['farm', 'fruit'], var_name='year', value_name='value')