def _options_to_dict(df):
kolums = ["<STR_LIT>", "<STR_LIT>", "<STR_LIT:value>"]<EOL>d = df[kolums].values.tolist()<EOL>dc = {}<EOL>for x in d:<EOL><INDENT>dc.setdefault(x[<NUM_LIT:0>], {})<EOL>dc[x[<NUM_LIT:0>]][x[<NUM_LIT:1>]] = x[<NUM_LIT:2>]<EOL><DEDENT>return dc<EOL>
Make a dictionary to print.