home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 107139131 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 3

  • naught101 1
  • shoyer 1
  • clarkfitzg 1

author_association 2

  • MEMBER 2
  • NONE 1

issue 1

  • dim_names, coord_names, var_names, attr_names convenience functions · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
142467890 https://github.com/pydata/xarray/issues/582#issuecomment-142467890 https://api.github.com/repos/pydata/xarray/issues/582 MDEyOklzc3VlQ29tbWVudDE0MjQ2Nzg5MA== naught101 167164 2015-09-23T01:24:34Z 2015-09-23T01:25:07Z NONE

Fair enough, I wasn't aware list(ds.dims) worked..

.keys() returns a keysview though, not a list:

``` python In [4]: ds.dims.keys() Out[4]: KeysView(Frozen(SortedKeysDict({'time': 70128, 'z': 1, 'x': 1, 'y': 1})))

In [5]: ds.dims.keys()[0]

TypeError Traceback (most recent call last) <ipython-input-5-874ed46e2639> in <module>() ----> 1 ds.dims.keys()[0]

TypeError: 'KeysView' object does not support indexing ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  dim_names, coord_names, var_names, attr_names convenience functions 107139131
141525545 https://github.com/pydata/xarray/issues/582#issuecomment-141525545 https://api.github.com/repos/pydata/xarray/issues/582 MDEyOklzc3VlQ29tbWVudDE0MTUyNTU0NQ== clarkfitzg 5356122 2015-09-18T18:23:26Z 2015-09-18T18:23:26Z MEMBER

Dataset currently has around 100 attributes. It would be nice to keep this manageable.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  dim_names, coord_names, var_names, attr_names convenience functions 107139131
141522962 https://github.com/pydata/xarray/issues/582#issuecomment-141522962 https://api.github.com/repos/pydata/xarray/issues/582 MDEyOklzc3VlQ29tbWVudDE0MTUyMjk2Mg== shoyer 1217238 2015-09-18T18:11:51Z 2015-09-18T18:11:51Z MEMBER

All of these are dictionaries (on Dataset objects), so you can simply write list(ds.dims) or ds.dims.keys() if you want to be more explicit. That's not any more characters than ds.dim_names(), so I'm not sure if there's much of an advantage to it.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  dim_names, coord_names, var_names, attr_names convenience functions 107139131

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