{"database": "github", "table": "issue_comments", "is_view": false, "human_description_en": "where author_association = \"MEMBER\" and issue = 160466764 sorted by updated_at descending", "rows": [["https://github.com/pydata/xarray/issues/883#issuecomment-236985767", "https://api.github.com/repos/pydata/xarray/issues/883", 236985767, "MDEyOklzc3VlQ29tbWVudDIzNjk4NTc2Nw==", 5635139, "2016-08-02T17:51:43Z", "2016-08-02T17:51:43Z", "MEMBER", "That makes sense. I'll close this and we can move to #916.\n", "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", null, 160466764], ["https://github.com/pydata/xarray/issues/883#issuecomment-236984734", "https://api.github.com/repos/pydata/xarray/issues/883", 236984734, "MDEyOklzc3VlQ29tbWVudDIzNjk4NDczNA==", 1217238, "2016-08-02T17:48:32Z", "2016-08-02T17:48:32Z", "MEMBER", "I would slightly rather put this in a generic `select` or `filter` method (xref https://github.com/pydata/xarray/issues/916) than overload indexing further. Mostly, I am concerned that this is slightly different from the way pandas handles callables in indexing, which is to apply the callable to the object being indexed.\n\nI'm thinking a signature something like `Dataset.filter(func=None, like=None, regex=None)` (see [here](https://github.com/pydata/pandas/blob/136794524a8f8954c0b8bf8f0327870d83cbf8d4/pandas/core/generic.py#L2382) for how filter is implemented in pandas). This does have the downside that it departs from pandas syntax by combining filter and select, but these are very related ways of filtering a dataset so it seems better to keep them in one method.\n", "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", null, 160466764], ["https://github.com/pydata/xarray/issues/883#issuecomment-226253801", "https://api.github.com/repos/pydata/xarray/issues/883", 226253801, "MDEyOklzc3VlQ29tbWVudDIyNjI1MzgwMQ==", 1217238, "2016-06-15T17:08:29Z", "2016-06-15T17:08:35Z", "MEMBER", "There are possibly a few issues to work through here, but I like the look of it!\n", "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", null, 160466764]], "truncated": false, "filtered_table_rows_count": 3, "expanded_columns": [], "expandable_columns": [[{"column": "issue", "other_table": "issues", "other_column": "id"}, "title"], [{"column": "user", "other_table": "users", "other_column": "id"}, "login"]], "columns": ["html_url", "issue_url", "id", "node_id", "user", "created_at", "updated_at", "author_association", "body", "reactions", "performed_via_github_app", "issue"], "primary_keys": ["id"], "units": {}, "query": {"sql": "select html_url, issue_url, id, node_id, user, created_at, updated_at, author_association, body, reactions, performed_via_github_app, issue from issue_comments where \"author_association\" = :p0 and \"issue\" = :p1 order by updated_at desc limit 101", "params": {"p0": "MEMBER", "p1": "160466764"}}, "facet_results": {"author_association": {"name": "author_association", "type": "column", "hideable": false, "toggle_url": "/github/issue_comments.json?author_association=MEMBER&issue=160466764", "results": [{"value": "MEMBER", "label": "MEMBER", "count": 3, "toggle_url": "http://xarray-datasette.fly.dev/github/issue_comments.json?issue=160466764", "selected": true}], "truncated": false}, "user": {"name": "user", "type": "column", "hideable": false, "toggle_url": "/github/issue_comments.json?author_association=MEMBER&issue=160466764", "results": [{"value": 1217238, "label": "shoyer", "count": 2, "toggle_url": "http://xarray-datasette.fly.dev/github/issue_comments.json?author_association=MEMBER&issue=160466764&user=1217238", "selected": false}, {"value": 5635139, "label": "max-sixty", "count": 1, "toggle_url": "http://xarray-datasette.fly.dev/github/issue_comments.json?author_association=MEMBER&issue=160466764&user=5635139", "selected": false}], "truncated": false}, "issue": {"name": "issue", "type": "column", "hideable": false, "toggle_url": "/github/issue_comments.json?author_association=MEMBER&issue=160466764", "results": [{"value": 160466764, "label": "ENH: Allow ds selection with callable?", "count": 3, "toggle_url": "http://xarray-datasette.fly.dev/github/issue_comments.json?author_association=MEMBER", "selected": true}], "truncated": false}}, "suggested_facets": [{"name": "created_at", "type": "date", "toggle_url": "http://xarray-datasette.fly.dev/github/issue_comments.json?author_association=MEMBER&issue=160466764&_facet_date=created_at"}, {"name": "updated_at", "type": "date", "toggle_url": "http://xarray-datasette.fly.dev/github/issue_comments.json?author_association=MEMBER&issue=160466764&_facet_date=updated_at"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 15.979340998455882}