home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where issue = 323357664 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 4

  • rabernat 2
  • shoyer 1
  • jhamman 1
  • dnowacki-usgs 1

author_association 2

  • MEMBER 4
  • CONTRIBUTOR 1

issue 1

  • unlimited_dims generates 0-length dimensions named as letters of unlimited dimension · 5 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
390030914 https://github.com/pydata/xarray/issues/2134#issuecomment-390030914 https://api.github.com/repos/pydata/xarray/issues/2134 MDEyOklzc3VlQ29tbWVudDM5MDAzMDkxNA== jhamman 2443309 2018-05-17T22:14:07Z 2018-05-17T22:14:07Z MEMBER

fix for this in https://github.com/pydata/xarray/pull/2154.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  unlimited_dims generates 0-length dimensions named as letters of unlimited dimension 323357664
389374228 https://github.com/pydata/xarray/issues/2134#issuecomment-389374228 https://api.github.com/repos/pydata/xarray/issues/2134 MDEyOklzc3VlQ29tbWVudDM4OTM3NDIyOA== shoyer 1217238 2018-05-16T02:23:50Z 2018-05-16T02:24:10Z MEMBER

We usually write something like: python if isinstance(unlimited_dims, basestring): unlimited_dims = [unlimited_dims] (This does come up quite commonly, but the work-around is short enough that we haven't written a utility function for it.)

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  unlimited_dims generates 0-length dimensions named as letters of unlimited dimension 323357664
389296856 https://github.com/pydata/xarray/issues/2134#issuecomment-389296856 https://api.github.com/repos/pydata/xarray/issues/2134 MDEyOklzc3VlQ29tbWVudDM4OTI5Njg1Ng== rabernat 1197350 2018-05-15T20:08:57Z 2018-05-15T20:08:57Z MEMBER

I still think this is a bug. I really don't know the best way to check that an object is a sequence other than a string, but it must be solved elsewhere in xarray.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  unlimited_dims generates 0-length dimensions named as letters of unlimited dimension 323357664
389295812 https://github.com/pydata/xarray/issues/2134#issuecomment-389295812 https://api.github.com/repos/pydata/xarray/issues/2134 MDEyOklzc3VlQ29tbWVudDM4OTI5NTgxMg== dnowacki-usgs 13837821 2018-05-15T20:05:14Z 2018-05-15T20:05:14Z CONTRIBUTOR

Yep that does it, thanks! :thumbsup:

I guess I could have read the "sequence of str" description in the docs more closely. Maybe it would make sense to accept a single string in addition to a sequence of strings?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  unlimited_dims generates 0-length dimensions named as letters of unlimited dimension 323357664
389293659 https://github.com/pydata/xarray/issues/2134#issuecomment-389293659 https://api.github.com/repos/pydata/xarray/issues/2134 MDEyOklzc3VlQ29tbWVudDM4OTI5MzY1OQ== rabernat 1197350 2018-05-15T19:57:31Z 2018-05-15T19:57:31Z MEMBER

What if you do unlimited_dims=['time']? It might be expecting a list and then incorrectly parsing the string as a sequence.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  unlimited_dims generates 0-length dimensions named as letters of unlimited dimension 323357664

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