[{'role': 'system', 'content': "You are an expert in machine learning and your task is to classify code snippets into one of the following categories: ['helper_functions', 'load_data', 'data_exploration', 'data_preprocessing', 'evaluation', 'modelling', 'prediction', 'result_visualization', 'save_results', 'comment_only']."}, {'role': 'user', 'content': "Identify the single most appropriate category to which the provided code belongs. Provide your response as a single category label without any additional information, commentary, or personal opinions.\\nPython Code:def count_label_encoding(train, test,col):\n    for i in col:\n        df1 = train[i].value_counts().reset_index(name='freq_'+ i).rename(columns={'index': 'lc_'+ i})\n        train = pd.merge(train,df1,left_on=i, right_on='lc_'+ i, how='left')\n        test = pd.merge(test,df1,left_on=i, right_on='lc_'+ i, how='left')\n        \n    for i in list(train):\n        if 'lc_' in i:\n            train = train.drop(i, axis = 1)\n            test = test.drop(i, axis = 1)\n    return train, test"}, {'role': 'assistant', 'content': 'data_preprocessing'}]