home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 403326458 and user = 19350183 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

  • barkls · 2 ✖

issue 1

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

author_association 1

  • NONE 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
485545970 https://github.com/pydata/xarray/issues/2710#issuecomment-485545970 https://api.github.com/repos/pydata/xarray/issues/2710 MDEyOklzc3VlQ29tbWVudDQ4NTU0NTk3MA== barkls 19350183 2019-04-22T20:44:26Z 2019-04-22T20:44:26Z NONE

@pletchm that is the solution I found as well. Thanks all for the suggestions!

{
    "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
485523566 https://github.com/pydata/xarray/issues/2710#issuecomment-485523566 https://api.github.com/repos/pydata/xarray/issues/2710 MDEyOklzc3VlQ29tbWVudDQ4NTUyMzU2Ng== barkls 19350183 2019-04-22T19:29:56Z 2019-04-22T19:29:56Z NONE

Unfortunately this most recent change has broken my workflow. I was using expand_dims to add a named dimension back onto a DataArray, when the dimension had been previously removed with the sel method. I realize this may not be the best way of doing things, but I wanted to point out that there is a loss of functionality here.

python import xarray as xr da = xr.DataArray([0,1,2], dims=['dim1'], coords={'dim1':['a','b','c']}) print(da.dims) # returns ('dim1',) da = da.sel({'dim1':'a'}) print(da.dims) # returns () da = da.expand_dims(da.coords) # fails in 0.12.1 print(da.dims) # returns ('dim1',) in 0.12.0

{
    "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 15.264ms · About: xarray-datasette