text_plain_output_1.png
import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

meat = pd.read_csv('/kaggle/input/meat-consumption/meat_consumption.csv')
meat

meat.drop(['frequency', 'indicator'], axis=1, inplace=True)
meat

meat['KG_CAP values'] = meat['value']
conversion_factor = 1000
meat.loc[meat['measure'] == 'THND_TONNE', 'KG_CAP values'] *= conversion_factor
meat

meat['time'] = pd.to_datetime(meat['time'], format='%Y')
meat