home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 330473082 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

  • shoyer 1
  • crusaderky 1

issue 1

  • to_netcdf broken encoding: dtype='S1' + chunksizes · 2 ✖

author_association 1

  • MEMBER 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
397299709 https://github.com/pydata/xarray/issues/2219#issuecomment-397299709 https://api.github.com/repos/pydata/xarray/issues/2219 MDEyOklzc3VlQ29tbWVudDM5NzI5OTcwOQ== crusaderky 6213168 2018-06-14T13:40:36Z 2018-06-14T13:41:38Z MEMBER

IMHO the trick that alters the shape of the array is strictly an implementation detail which should not be exposed to the end user. If the implementation of xarray alters the shape of the variable, it should as well alter anything that relies on it. So I think that chunksizes=(2, 3) should not be accepted as a valid input.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  to_netcdf broken encoding: dtype='S1' + chunksizes 330473082
395617267 https://github.com/pydata/xarray/issues/2219#issuecomment-395617267 https://api.github.com/repos/pydata/xarray/issues/2219 MDEyOklzc3VlQ29tbWVudDM5NTYxNzI2Nw== shoyer 1217238 2018-06-08T01:31:07Z 2018-06-08T01:31:07Z MEMBER

It looks like this version works: xarray.Dataset({'x': ['foo', 'bar', 'baz']}).to_netcdf( 'foo.nc', engine='h5netcdf', encoding={'x': {'dtype': 'S1', 'zlib': True, 'chunksizes': (2, 3)}})

I suppose we could update chunksizes to accept both versions? Or just clearly document this behavior?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  to_netcdf broken encoding: dtype='S1' + chunksizes 330473082

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