athletics at the 1978 commonwealth games
in athletics at the 1978 commonwealth games the country with 2 bronze medals that had the most gold medals was in rank 4 .
{'scope': 'subset', 'row': '4', 'col': '3', 'order': '1', 'col_other': '1', 'max_or_min': 'max_to_min', 'value_mentioned': 'no', 'subset': {'col': '5', 'criterion': 'equal', 'value': '2'}}
{'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'nth_argmax', 'args': [{'func': 'filter_eq', 'args': ['all_rows', 'bronze', '2'], 'result': None, 'ind': 0, 'tostr': 'filter_eq { all_rows ; bronze ; 2 }', 'tointer': 'select the rows whose bronze record is equal to 2 .'}, 'gold', '1'], 'result': None, 'ind': 1, 'tostr': 'nth_argmax { filter_eq { all_rows ; bronze ; 2 } ; gold ; 1 }'}, 'rank'], 'result': '4', 'ind': 2, 'tostr': 'hop { nth_argmax { filter_eq { all_rows ; bronze ; 2 } ; gold ; 1 } ; rank }'}, '4'], 'result': True, 'ind': 3, 'tostr': 'eq { hop { nth_argmax { filter_eq { all_rows ; bronze ; 2 } ; gold ; 1 } ; rank } ; 4 } = true', 'tointer': 'select the rows whose bronze record is equal to 2 . select the row whose gold record of these rows is 1st maximum . the rank record of this row is 4 .'}
eq { hop { nth_argmax { filter_eq { all_rows ; bronze ; 2 } ; gold ; 1 } ; rank } ; 4 } = true
select the rows whose bronze record is equal to 2 . select the row whose gold record of these rows is 1st maximum . the rank record of this row is 4 .
{'str_eq_3': 'str_eq', 'result_4': 'true', 'str_hop_2': 'str_hop', 'nth_argmax_1': 'nth_argmax', 'filter_eq_0': 'filter_eq', 'all_rows_5': 'all_rows', 'bronze_6': 'bronze', '2_7': '2', 'gold_8': 'gold', '1_9': '1', 'rank_10': 'rank', '4_11': '4'}
['rank', 'nation', 'gold', 'silver', 'bronze', 'total']
[['1', 'england', '16', '5', '12', '33'], ['2', 'australia', '7', '10', '7', '25'], ['3', 'canada', '6', '8', '10', '24'], ['4', 'kenya', '5', '4', '2', '11'], ['5', 'scotland', '2', '1', '3', '6'], ['6', 'jamaica', '1', '2', '2', '5'], ['7', 'tanzania', '1', '1', '0', '2'], ['8', 'wales', '1', '0', '0', '1'], ['9', 'trinidad and tobago', '0', '2', '1', '3'], ['10', 'new zealand', '0', '2', '0', '2'], ['11', 'guyana', '0', '1', '1', '2'], ['12', 'bahamas', '0', '1', '0', '1'], ['13', 'india', '0', '0', '1', '1'], ['total', 'total', '38', '38', '39', '115']]