home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 547373923 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • sfinkens 1
  • fujiisoup 1

author_association 2

  • MEMBER 1
  • NONE 1

issue 1

  • Dataset.expand_dims expands dimensions on coordinate bounds · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
572511172 https://github.com/pydata/xarray/issues/3675#issuecomment-572511172 https://api.github.com/repos/pydata/xarray/issues/3675 MDEyOklzc3VlQ29tbWVudDU3MjUxMTE3Mg== sfinkens 1991007 2020-01-09T11:03:22Z 2020-01-09T11:03:22Z NONE

Very nice solution, thanks for your help @fujiisoup!

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Dataset.expand_dims expands dimensions on coordinate bounds 547373923
572506873 https://github.com/pydata/xarray/issues/3675#issuecomment-572506873 https://api.github.com/repos/pydata/xarray/issues/3675 MDEyOklzc3VlQ29tbWVudDU3MjUwNjg3Mw== fujiisoup 6815844 2020-01-09T10:51:40Z 2020-01-09T10:51:40Z MEMBER

Hi @sfinkens. Thank you for raising an issue.

I think what you actually want would be ```python In [16]: ds = xr.Dataset({'data': ('x', [1, 2]), ...: 'x': ('x', [1, 2]) ...: }, coords={'x_bnds': (('x', 'bnds'), [[0.5, 1.5], [1.5, ...: 2.5]])}) ...: ds['x'].attrs['bounds'] = 'x_bnds' ...: ds = ds.expand_dims({'time': [0]})

In [17]: ds
Out[17]: <xarray.Dataset> Dimensions: (bnds: 2, time: 1, x: 2) Coordinates: * time (time) int64 0 * x (x) int64 1 2 x_bnds (x, bnds) float64 0.5 1.5 1.5 2.5 Dimensions without coordinates: bnds Data variables: data (time, x) int64 1 2 `` wherex_bnds` would be a coordinate rather than a data variable.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Dataset.expand_dims expands dimensions on coordinate bounds 547373923

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