[{'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:import random\n\ndef random_sampler(filename, k):\n    sample = []\n    with open(filename, 'rb') as f:\n        f.seek(0, 2)\n        filesize = f.tell()\n        \n        random_set = sorted(random.sample(range(filesize), k))\n       \n        for i in range(k):\n            f.seek(random_set[i])\n            # Skip current line (because we might be in the middle of a line) \n            f.readline()\n            # Append the next line to the sample set \n            sample.append(f.readline().rstrip())\n\n    return sample"}, {'role': 'assistant', 'content': 'data_preprocessing'}]