scottish parliament general election , 2007
the dundee east constituency had the smallest swing to gain during the scottish parliament general election of 2007 .
{'scope': 'all', 'col_superlative': '4', 'row_superlative': '1', 'value_mentioned': 'no', 'max_or_min': 'min', 'other_col': '2', 'subset': None}
{'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'argmin', 'args': ['all_rows', 'swing to gain'], 'result': None, 'ind': 0, 'tostr': 'argmin { all_rows ; swing to gain }'}, 'constituency'], 'result': 'dundee east', 'ind': 1, 'tostr': 'hop { argmin { all_rows ; swing to gain } ; constituency }'}, 'dundee east'], 'result': True, 'ind': 2, 'tostr': 'eq { hop { argmin { all_rows ; swing to gain } ; constituency } ; dundee east } = true', 'tointer': 'select the row whose swing to gain record of all rows is minimum . the constituency record of this row is dundee east .'}
eq { hop { argmin { all_rows ; swing to gain } ; constituency } ; dundee east } = true
select the row whose swing to gain record of all rows is minimum . the constituency record of this row is dundee east .
{'str_eq_2': 'str_eq', 'result_3': 'true', 'str_hop_1': 'str_hop', 'argmin_0': 'argmin', 'all_rows_4': 'all_rows', 'swing to gain_5': 'swing to gain', 'constituency_6': 'constituency', 'dundee east_7': 'dundee east'}
['rank', 'constituency', 'winning party 2003', 'swing to gain', "labour 's place 2003", 'result']
[['1', 'dundee east', 'snp', '0.17', '2nd', 'snp hold'], ['2', 'edinburgh south', 'liberal democrats', '0.26', '2nd', 'ld hold'], ['3', 'ochil', 'snp', '0.49', '2nd', 'snp hold'], ['4', 'strathkelvin and bearsden', 'independent', '0.62', '2nd', 'lab gain'], ['5', 'aberdeen north', 'snp', '0.92', '2nd', 'snp hold'], ['6', 'inverness east , nairn and lochaber', 'snp', '1.51', '2nd', 'snp hold'], ['7', 'tweeddale , ettrick and lauderdale', 'liberal democrats', '2.70', '3rd', 'ld hold'], ['8', 'ayr', 'conservative', '2.99', '2nd', 'con hold'], ['9', 'edinburgh pentlands', 'conservative', '3.16', '2nd', 'con hold'], ['10', 'caithness , sutherland and easter ross', 'liberal democrats', '4.96', '2nd', 'ld hold']]