[{'role': 'system', 'content': "You are an expert in machine learning and your task is to classify the code snippets into categories from the provided list of categories. List of categories: ['helper_functions', 'load_data', 'data_exploration', 'data_preprocessing', 'evaluation', 'modelling', 'prediction', 'result_visualization', 'save_results', 'comment_only']"}, {'role': 'user', 'content': 'Identify to which category the provided code belongs and assign the code snippet to at least 1 but up to 5 categories based on the probabilities, ignore if the probability of the category is negligible. Strictly provide your response as a list. Avoid providing any additional information, commentary, or personal opinions.\\nPython Code:def calc_fg_percents(games_data, is_winning_team):\nprefix = "L"\nif is_winning_team:\nprefix = "W"\nfgp = prefix + "fgp"\nfgp3 = prefix + "fgp3"\nftp = prefix + "ftp"\nfgm = prefix + "fgm"\nfga = prefix + "fga"\nfgm3 = prefix + "fgm3"\nfga3 = prefix + "fga3"\nftm = prefix + "ftm"\nfta = prefix + "fta"\ngames_data[fgp] = games_data[fgm] / games_data[fga]\ngames_data[fgp3] = games_data[fgm3] / games_data[fga3]\ngames_data[ftp] = games_data[ftm] / games_data[fta]\nreturn games_data.drop([fgm, fga, fgm3, fga3, ftm, fta], axis=1)'}, {'role': 'assistant', 'content': "['data_exploration', 'data_preprocessing']"}]