{"action":"created","issue":{"url":"https://api.github.com/repos/ContinuumIO/dask/issues/475","labels_url":"https://api.github.com/repos/ContinuumIO/dask/issues/475/labels{/name}","comments_url":"https://api.github.com/repos/ContinuumIO/dask/issues/475/comments","events_url":"https://api.github.com/repos/ContinuumIO/dask/issues/475/events","html_url":"https://github.com/ContinuumIO/dask/pull/475","id":97191756,"number":475,"title":"Add DataFrame.query","user":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-25T05:06:24Z","updated_at":"2015-07-28T16:36:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ContinuumIO/dask/pulls/475","html_url":"https://github.com/ContinuumIO/dask/pull/475","diff_url":"https://github.com/ContinuumIO/dask/pull/475.diff","patch_url":"https://github.com/ContinuumIO/dask/pull/475.patch"},"body":"Fixes #474\r\n\r\nExample\r\n-------\r\n\r\n```python\r\nIn [1]: import dask.dataframe as dd\r\n\r\nIn [2]: import pandas as pd\r\n\r\nIn [3]: df = pd.DataFrame({'x': [1, 2, 3, 4], 'y': [5, 6, 7, 8]})\r\n\r\nIn [4]: a = dd.from_pandas(df, npartitions=2)\r\n\r\nIn [5]: a.compute()\r\nOut[5]:\r\n   x  y\r\n0  1  5\r\n1  2  6\r\n2  3  7\r\n3  4  8\r\n\r\nIn [6]: a.query('x**2 > y').compute()\r\n   x  y\r\n2  3  7\r\n3  4  8\r\n```"},"comment":{"url":"https://api.github.com/repos/ContinuumIO/dask/issues/comments/125673689","html_url":"https://github.com/ContinuumIO/dask/pull/475#issuecomment-125673689","issue_url":"https://api.github.com/repos/ContinuumIO/dask/issues/475","id":125673689,"user":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"created_at":"2015-07-28T16:36:03Z","updated_at":"2015-07-28T16:36:03Z","body":"I now mention the nthreads thing in the docstring.  @cpcloud would you prefer setting this globally with `set_nthreads`?  "}}