{"action":"created","issue":{"url":"https://api.github.com/repos/pydata/numexpr/issues/282","repository_url":"https://api.github.com/repos/pydata/numexpr","labels_url":"https://api.github.com/repos/pydata/numexpr/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/pydata/numexpr/issues/282/comments","events_url":"https://api.github.com/repos/pydata/numexpr/issues/282/events","html_url":"https://github.com/pydata/numexpr/issues/282","id":257130743,"number":282,"title":"Support for using string variables","user":{"login":"Diego-MX","id":9877444,"avatar_url":"https://avatars3.githubusercontent.com/u/9877444?v=4","gravatar_id":"","url":"https://api.github.com/users/Diego-MX","html_url":"https://github.com/Diego-MX","followers_url":"https://api.github.com/users/Diego-MX/followers","following_url":"https://api.github.com/users/Diego-MX/following{/other_user}","gists_url":"https://api.github.com/users/Diego-MX/gists{/gist_id}","starred_url":"https://api.github.com/users/Diego-MX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diego-MX/subscriptions","organizations_url":"https://api.github.com/users/Diego-MX/orgs","repos_url":"https://api.github.com/users/Diego-MX/repos","events_url":"https://api.github.com/users/Diego-MX/events{/privacy}","received_events_url":"https://api.github.com/users/Diego-MX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-12T17:57:05Z","updated_at":"2017-09-13T13:49:10Z","closed_at":null,"author_association":"NONE","body":"Thank you for a great tool.  \r\nI'm trying to use a character variable to resemble an `if-else` statement. \r\n```\r\na_dict = {\"a\":3, \"b\":4, \"c\":5, \"side\":\"hyp\"}\r\nevaluate(\"(side == 'hyp')*c\", a_dict)\r\n\r\n File \"/home/diego/Code/anaconda3/lib/python3.6/site-packages/numexpr/necompiler.py\", line 686, in getType\r\n    raise ValueError(\"unknown type %s\" % a.dtype.name)\r\n\r\nValueError: unknown type str96\r\n```\r\n\r\nIs it possible to do this?  \r\nThanks"},"comment":{"url":"https://api.github.com/repos/pydata/numexpr/issues/comments/329173555","html_url":"https://github.com/pydata/numexpr/issues/282#issuecomment-329173555","issue_url":"https://api.github.com/repos/pydata/numexpr/issues/282","id":329173555,"user":{"login":"Diego-MX","id":9877444,"avatar_url":"https://avatars3.githubusercontent.com/u/9877444?v=4","gravatar_id":"","url":"https://api.github.com/users/Diego-MX","html_url":"https://github.com/Diego-MX","followers_url":"https://api.github.com/users/Diego-MX/followers","following_url":"https://api.github.com/users/Diego-MX/following{/other_user}","gists_url":"https://api.github.com/users/Diego-MX/gists{/gist_id}","starred_url":"https://api.github.com/users/Diego-MX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diego-MX/subscriptions","organizations_url":"https://api.github.com/users/Diego-MX/orgs","repos_url":"https://api.github.com/users/Diego-MX/repos","events_url":"https://api.github.com/users/Diego-MX/events{/privacy}","received_events_url":"https://api.github.com/users/Diego-MX/received_events","type":"User","site_admin":false},"created_at":"2017-09-13T13:49:10Z","updated_at":"2017-09-13T13:49:10Z","author_association":"NONE","body":"Thanks.  That's very useful.  And also the suggestion for `where`. \r\n"}}
{"actor":{"display_login":"Diego-MX"}}