home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where issue = 414641120 and user = 4711805 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

  • davidbrochart · 1 ✖

issue 1

  • Appending to zarr with string dtype · 1 ✖

author_association 1

  • CONTRIBUTOR 1
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
467551453 https://github.com/pydata/xarray/issues/2789#issuecomment-467551453 https://api.github.com/repos/pydata/xarray/issues/2789 MDEyOklzc3VlQ29tbWVudDQ2NzU1MTQ1Mw== davidbrochart 4711805 2019-02-26T18:16:12Z 2019-02-26T18:17:26Z CONTRIBUTOR

An example involving only zarr (not xarray):

```python import zarr import numpy as np

z1 = zarr.open('a.zarr', mode='w', shape=(1), chunks=(1), dtype='U6') z1[:] = 'foo'

z2 = zarr.open('a.zarr', mode='a') z2.append(np.array(['barbar'], dtype='U6'))

z3 = zarr.open('a.zarr', mode='r') print(z3[:]) ```

It works fine and prints ['foo' 'barbar'], and the encoding is "dtype": "<U6": $ cat a.zarr/.zarray { "chunks": [ 1 ], "compressor": { "blocksize": 0, "clevel": 5, "cname": "lz4", "id": "blosc", "shuffle": 1 }, "dtype": "<U6", "fill_value": "0", "filters": null, "order": "C", "shape": [ 1 ], "zarr_format": 2 }

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Appending to zarr with string dtype 414641120

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