home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where author_association = "MEMBER" and issue = 423749397 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

  • dcherian 4
  • shoyer 2

issue 1

  • xarray.concat() with compat='identical' fails for DataArray attrs · 6 ✖

author_association 1

  • MEMBER · 6 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
475659970 https://github.com/pydata/xarray/issues/2836#issuecomment-475659970 https://api.github.com/repos/pydata/xarray/issues/2836 MDEyOklzc3VlQ29tbWVudDQ3NTY1OTk3MA== dcherian 2448579 2019-03-22T15:15:14Z 2019-03-22T15:15:14Z MEMBER

No I mean having datarrays as attrs. Your use case is likely satisfied by seeing non-dimension coordinates.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xarray.concat() with compat='identical' fails for DataArray attrs 423749397
475657814 https://github.com/pydata/xarray/issues/2836#issuecomment-475657814 https://api.github.com/repos/pydata/xarray/issues/2836 MDEyOklzc3VlQ29tbWVudDQ3NTY1NzgxNA== shoyer 1217238 2019-03-22T15:09:38Z 2019-03-22T15:09:38Z MEMBER

It's true that you won't be able to serialize nested xarray objects to netCDF, but for the most part we try to avoid putting restrictions on what you can put inside xarray objects in memory.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xarray.concat() with compat='identical' fails for DataArray attrs 423749397
475604480 https://github.com/pydata/xarray/issues/2836#issuecomment-475604480 https://api.github.com/repos/pydata/xarray/issues/2836 MDEyOklzc3VlQ29tbWVudDQ3NTYwNDQ4MA== dcherian 2448579 2019-03-22T12:34:18Z 2019-03-22T12:34:18Z MEMBER

Ooh I missed that too! This probably wont serialize well to netcdf, would it?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xarray.concat() with compat='identical' fails for DataArray attrs 423749397
475488251 https://github.com/pydata/xarray/issues/2836#issuecomment-475488251 https://api.github.com/repos/pydata/xarray/issues/2836 MDEyOklzc3VlQ29tbWVudDQ3NTQ4ODI1MQ== shoyer 1217238 2019-03-22T04:14:23Z 2019-03-22T04:14:23Z MEMBER

This was intended to work with numpy arrays -- you'll notice that xarray.core.utils.equivalent() includes specific logic for numpy arrays.

We could probably adjust this to handle xarray objects, though this is a somewhat unusual use case.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xarray.concat() with compat='identical' fails for DataArray attrs 423749397
475275097 https://github.com/pydata/xarray/issues/2836#issuecomment-475275097 https://api.github.com/repos/pydata/xarray/issues/2836 MDEyOklzc3VlQ29tbWVudDQ3NTI3NTA5Nw== dcherian 2448579 2019-03-21T15:24:45Z 2019-03-21T15:24:45Z MEMBER

Ah right. Sorry, I missed that. Can you open a PR to fix it?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xarray.concat() with compat='identical' fails for DataArray attrs 423749397
475262968 https://github.com/pydata/xarray/issues/2836#issuecomment-475262968 https://api.github.com/repos/pydata/xarray/issues/2836 MDEyOklzc3VlQ29tbWVudDQ3NTI2Mjk2OA== dcherian 2448579 2019-03-21T14:55:31Z 2019-03-21T14:55:31Z MEMBER

I think multidimensional attributes are not allowed in netCDF: https://github.com/pydata/xarray/issues/2803 though we don't raise an error yet.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xarray.concat() with compat='identical' fails for DataArray attrs 423749397

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