home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER", issue = 298839307 and user = 6815844 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 1

  • fujiisoup · 2 ✖

issue 1

  • Not able to slice dataset using its own coordinate value · 2 ✖

author_association 1

  • MEMBER · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
367228280 https://github.com/pydata/xarray/issues/1932#issuecomment-367228280 https://api.github.com/repos/pydata/xarray/issues/1932 MDEyOklzc3VlQ29tbWVudDM2NzIyODI4MA== fujiisoup 6815844 2018-02-21T06:37:34Z 2018-02-21T06:37:47Z MEMBER

I found the discrepancy between ds['time'][1] and ds.get_index('time')[1] ```python In [13]: ds.get_index('time')[1] Out[13]: Timestamp('2018-02-12 06:59:59.999986560')

In [14]: ds['time'][1].values Out[14]: numpy.datetime64('2018-02-12T06:59:59.999986000') ``` Last three digits are different.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Not able to slice dataset using its own coordinate value 298839307
367227408 https://github.com/pydata/xarray/issues/1932#issuecomment-367227408 https://api.github.com/repos/pydata/xarray/issues/1932 MDEyOklzc3VlQ29tbWVudDM2NzIyNzQwOA== fujiisoup 6815844 2018-02-21T06:32:31Z 2018-02-21T06:32:31Z MEMBER

@rafa-guedes , thank you for reporting this. This reproduces also in my environment.

As we use pandas index under the hood, I thought it was pandas' issue. But I confirmed that this works with pandas python import xarray as xr ds = xr.open_dataset('test.nc') se = ds['wdir'].to_series() se.loc[se.index[0]] # works se.loc[se.index[1]] # also works

It looks our issue.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Not able to slice dataset using its own coordinate value 298839307

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 59.229ms · About: xarray-datasette