home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where author_association = "MEMBER", issue = 741806260 and user = 5635139 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

  • max-sixty · 1 ✖

issue 1

  • Invisible differences between arrays using IntervalIndex · 1 ✖

author_association 1

  • MEMBER · 1 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
726281700 https://github.com/pydata/xarray/issues/4579#issuecomment-726281700 https://api.github.com/repos/pydata/xarray/issues/4579 MDEyOklzc3VlQ29tbWVudDcyNjI4MTcwMA== max-sixty 5635139 2020-11-12T19:12:32Z 2020-11-12T19:12:32Z MEMBER

Thanks for the clear issue @gerritholl . I agree — it's confusing if those two look the same.

Currently, one way of discriminating them:

```python In [6]: da1.indexes['x'] Out[6]: IntervalIndex([(0.0, 0.6666666666666666], (0.6666666666666666, 1.3333333333333333], (1.3333333333333333, 2.0]], closed='right', name='x', dtype='interval[float64]')

In [7]: da2.indexes['x'] Out[7]: Index([ (0.0, 0.6666666666666666], (0.6666666666666666, 1.3333333333333333], (1.3333333333333333, 2.0]], dtype='object', name='x') ```

One option is to push the dtype — 'interval[float64] vs object — or the Index type — IntervalIndex vs Index — values into the repr of the array: python In [8]: da1 Out[8]: <xarray.DataArray (x: 3)> array([0, 1, 2]) Coordinates: * x (x) object (0.0, 0.6666666666666666] ... (1.3333333333333333, 2.0]

Could be: python * x (x) interval[float64] (0.0, 0.6666666666666666] ... (1.3333333333333333, 2.0]

What are others thoughts?

And ref https://github.com/pydata/xarray/projects/1

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Invisible differences between arrays using IntervalIndex 741806260

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