home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 434444058 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

  • max-sixty 3
  • lumbric 2
  • shoyer 1

author_association 2

  • MEMBER 4
  • CONTRIBUTOR 2

issue 1

  • Minor improvement of docstring for Dataset · 6 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
484242054 https://github.com/pydata/xarray/pull/2904#issuecomment-484242054 https://api.github.com/repos/pydata/xarray/issues/2904 MDEyOklzc3VlQ29tbWVudDQ4NDI0MjA1NA== shoyer 1217238 2019-04-17T20:09:26Z 2019-04-17T20:09:26Z MEMBER

Thanks @lumbric !

Feel free to work on improved error messages in another PR :)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Minor improvement of docstring for Dataset 434444058
484239080 https://github.com/pydata/xarray/pull/2904#issuecomment-484239080 https://api.github.com/repos/pydata/xarray/issues/2904 MDEyOklzc3VlQ29tbWVudDQ4NDIzOTA4MA== lumbric 691772 2019-04-17T20:00:22Z 2019-04-17T20:00:22Z CONTRIBUTOR

Ah yes, true! I've confused something here. dict() accepts mappings, but not everything dict() accepts is a mapping. xr.Dataset() actually accepts only mappings. That makes actually things a bit easier and much clearer.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Minor improvement of docstring for Dataset 434444058
484234275 https://github.com/pydata/xarray/pull/2904#issuecomment-484234275 https://api.github.com/repos/pydata/xarray/issues/2904 MDEyOklzc3VlQ29tbWVudDQ4NDIzNDI3NQ== max-sixty 5635139 2019-04-17T19:45:48Z 2019-04-17T19:45:48Z MEMBER

I feel like it is widely accepted that in the scientific Python ecosystem error messages are hard to read quite often. Maybe this is the downside the duck typing?

We can make it better! While duck typing does allow passing incorrectly typed arguments, it doesn't prevent us from checking their types. Python now has types like Mapping or Sized which can be used more like protocols and so don't give up flexibility. So I think it would be strictly dominant for us to check for an instance of Mapping there, and raise a readable error message if it fails.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Minor improvement of docstring for Dataset 434444058
484232306 https://github.com/pydata/xarray/pull/2904#issuecomment-484232306 https://api.github.com/repos/pydata/xarray/issues/2904 MDEyOklzc3VlQ29tbWVudDQ4NDIzMjMwNg== lumbric 691772 2019-04-17T19:39:42Z 2019-04-17T19:39:42Z CONTRIBUTOR

Hm yes, good error messages would be great, but I feel like it is widely accepted that in the scientific Python ecosystem error messages are hard to read quite often. Maybe this is the downside the duck typing? I've mentioned this only as explanation why I was so confused after running xr.Dataset for the first time.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Minor improvement of docstring for Dataset 434444058
484228485 https://github.com/pydata/xarray/pull/2904#issuecomment-484228485 https://api.github.com/repos/pydata/xarray/issues/2904 MDEyOklzc3VlQ29tbWVudDQ4NDIyODQ4NQ== max-sixty 5635139 2019-04-17T19:28:00Z 2019-04-17T19:28:25Z MEMBER

(agree on the error message, I think we could do a better job there. We already made some minor changes around sets but we could make broader checks for these initial entry points that new users first encounter)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Minor improvement of docstring for Dataset 434444058
484228009 https://github.com/pydata/xarray/pull/2904#issuecomment-484228009 https://api.github.com/repos/pydata/xarray/issues/2904 MDEyOklzc3VlQ29tbWVudDQ4NDIyODAwOQ== max-sixty 5635139 2019-04-17T19:26:20Z 2019-04-17T19:26:20Z MEMBER

These are great! Agree on the sentence construction.

Any others are welcome, and please feel free to add an entry & attribution in the whats-new at some point

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Minor improvement of docstring for Dataset 434444058

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