substance dependence
heroin is the only drug that has a 3.0 rating for pleasure , psychological dependence , and physical dependence .
{'scope': 'all', 'row': '1', 'col': '2', 'col_other': '1', 'criterion': 'equal', 'value': '3.0', 'subset': None}
{'func': 'and', 'args': [{'func': 'only', 'args': [{'func': 'filter_eq', 'args': ['all_rows', 'mean', '3.0'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose mean record is equal to 3.0 .', 'tostr': 'filter_eq { all_rows ; mean ; 3.0 }'}], 'result': True, 'ind': 1, 'tostr': 'only { filter_eq { all_rows ; mean ; 3.0 } }', 'tointer': 'select the rows whose mean record is equal to 3.0 . there is only one such row in the table .'}, {'func': 'str_eq', 'args': [{'func': 'str_hop', 'args': [{'func': 'filter_eq', 'args': ['all_rows', 'mean', '3.0'], 'result': None, 'ind': 0, 'tointer': 'select the rows whose mean record is equal to 3.0 .', 'tostr': 'filter_eq { all_rows ; mean ; 3.0 }'}, 'drug'], 'result': 'heroin', 'ind': 2, 'tostr': 'hop { filter_eq { all_rows ; mean ; 3.0 } ; drug }'}, 'heroin'], 'result': True, 'ind': 3, 'tostr': 'eq { hop { filter_eq { all_rows ; mean ; 3.0 } ; drug } ; heroin }', 'tointer': 'the drug record of this unqiue row is heroin .'}], 'result': True, 'ind': 4, 'tostr': 'and { only { filter_eq { all_rows ; mean ; 3.0 } } ; eq { hop { filter_eq { all_rows ; mean ; 3.0 } ; drug } ; heroin } } = true', 'tointer': 'select the rows whose mean record is equal to 3.0 . there is only one such row in the table . the drug record of this unqiue row is heroin .'}
and { only { filter_eq { all_rows ; mean ; 3.0 } } ; eq { hop { filter_eq { all_rows ; mean ; 3.0 } ; drug } ; heroin } } = true
select the rows whose mean record is equal to 3.0 . there is only one such row in the table . the drug record of this unqiue row is heroin .
{'and_4': 'and', 'result_5': 'true', 'only_1': 'only', 'filter_eq_0': 'filter_eq', 'all_rows_6': 'all_rows', 'mean_7': 'mean', '3.0_8': '3.0', 'str_eq_3': 'str_eq', 'str_hop_2': 'str_hop', 'drug_9': 'drug', 'heroin_10': 'heroin'}
['drug', 'mean', 'pleasure', 'psychological dependence', 'physical dependence']
[['heroin', '3.00', '3.0', '3.0', '3.0'], ['cocaine', '2.37', '3.0', '2.8', '1.3'], ['alcohol', '1.93', '2.3', '1.9', '1.6'], ['barbiturates', '2.01', '2.0', '2.2', '1.8'], ['benzodiazepines', '1.83', '1.7', '2.1', '1.8'], ['amphetamine', '1.67', '2.0', '1.9', '1.1'], ['cannabis', '1.51', '1.9', '1.7', '0.8'], ['ecstasy', '1.13', '1.5', '1.2', '0.7'], ['lsd', '0.90', '1.3', '1.1', '0.3']]