home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 403326458 and user = 2448579 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • dcherian · 3 ✖

issue 1

  • xarray.DataArray.expand_dims() can only expand dimension for a point coordinate · 3 ✖

author_association 1

  • MEMBER 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
485541551 https://github.com/pydata/xarray/issues/2710#issuecomment-485541551 https://api.github.com/repos/pydata/xarray/issues/2710 MDEyOklzc3VlQ29tbWVudDQ4NTU0MTU1MQ== dcherian 2448579 2019-04-22T20:29:47Z 2019-04-22T20:29:57Z MEMBER

Another solution could be adding support for da.sel(dim1='a', squeeze=False) to avoid losing the dim1 dimension/coordinate in the first place

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xarray.DataArray.expand_dims() can only expand dimension for a point coordinate  403326458
458718342 https://github.com/pydata/xarray/issues/2710#issuecomment-458718342 https://api.github.com/repos/pydata/xarray/issues/2710 MDEyOklzc3VlQ29tbWVudDQ1ODcxODM0Mg== dcherian 2448579 2019-01-29T21:42:08Z 2019-01-29T21:42:08Z MEMBER

Well then I think they should be different.

Currently, da.expand_dims('a') gives <xarray.DataArray (a: 1, b: 5, c: 3)> array([[[1., 1., 1.], [1., 1., 1.], [1., 1., 1.], [1., 1., 1.], [1., 1., 1.]]]) Coordinates: * b (b) int64 0 1 2 3 4 * c (c) int64 0 1 2 Dimensions without coordinates: a

da.expand_dims(a=3) should give <xarray.DataArray (a: 3, b: 5, c: 3)> ... Coordinates: * b (b) int64 0 1 2 3 4 * c (c) int64 0 1 2 Dimensions without coordinates: a

da.expand_dims(a=[9, 10, 11]) should give <xarray.DataArray (a: 3, b: 5, c: 3)> ... Coordinates: * a (a) int64 9 10 11 * b (b) int64 0 1 2 3 4 * c (c) int64 0 1 2 i.e. in this last case, the user has specified co-ordinate labels and so the returned DataArray has a new co-ordinate a.

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xarray.DataArray.expand_dims() can only expand dimension for a point coordinate  403326458
458629817 https://github.com/pydata/xarray/issues/2710#issuecomment-458629817 https://api.github.com/repos/pydata/xarray/issues/2710 MDEyOklzc3VlQ29tbWVudDQ1ODYyOTgxNw== dcherian 2448579 2019-01-29T17:25:26Z 2019-01-29T17:25:26Z MEMBER

da.expand_dims(a=3) should not be equivalent to da.expand_dims(a=[0, 1, 2]) because the latter will also create a co-ordinate a. Am I understanding this right?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xarray.DataArray.expand_dims() can only expand dimension for a point coordinate  403326458

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