home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER", issue = 84068169 and user = 1217238 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

These facets timed out: author_association, issue

user 1

  • shoyer · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
111630149 https://github.com/pydata/xarray/issues/418#issuecomment-111630149 https://api.github.com/repos/pydata/xarray/issues/418 MDEyOklzc3VlQ29tbWVudDExMTYzMDE0OQ== shoyer 1217238 2015-06-12T22:07:30Z 2015-06-12T22:09:16Z MEMBER

I just clarified this in the docs: http://xray.readthedocs.org/en/stable/indexing.html#nearest-neighbor-lookups

Let me know if that makes sense -- hopefully it's clear now that you actually don't need method='nearest' most use cases. As for your hack, I'm reluctant to support method='nearest' with label based slicing without the upstream functionality in pandas -- which would need to go in Index.slice_locs/Index.slice_indexer: https://github.com/pydata/pandas/blob/be5ad4abcb9d8385110831edd138c1f644fe83ae/pandas/core/index.py#L2457

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  select range/ slice with method='nearest' 84068169
108119362 https://github.com/pydata/xarray/issues/418#issuecomment-108119362 https://api.github.com/repos/pydata/xarray/issues/418 MDEyOklzc3VlQ29tbWVudDEwODExOTM2Mg== shoyer 1217238 2015-06-02T22:43:38Z 2015-06-02T22:43:38Z MEMBER

ds.sel(lat=slice(30, 50)) will work to select all values inside interval [30, 50] already -- the values don't have to match exactly. This should probably be noted in the docs.

This inconsistency is definitely a little annoying, though -- I don't see any harm in support nearest neighbor lookups for the bounds.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  select range/ slice with method='nearest' 84068169

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 4453.916ms · About: xarray-datasette