home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

9 rows where issue = 309976469 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 5
  • shoyer 3
  • dcherian 1

issue 1

  • Isin · 9 ✖

author_association 1

  • MEMBER 9
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
378472194 https://github.com/pydata/xarray/pull/2031#issuecomment-378472194 https://api.github.com/repos/pydata/xarray/issues/2031 MDEyOklzc3VlQ29tbWVudDM3ODQ3MjE5NA== max-sixty 5635139 2018-04-04T03:52:21Z 2018-04-04T03:52:21Z MEMBER

Yes good idea. I'll add that to my (metaphorical) list.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Isin 309976469
378466504 https://github.com/pydata/xarray/pull/2031#issuecomment-378466504 https://api.github.com/repos/pydata/xarray/issues/2031 MDEyOklzc3VlQ29tbWVudDM3ODQ2NjUwNA== shoyer 1217238 2018-04-04T03:10:29Z 2018-04-04T03:10:29Z MEMBER

Indeed, but combined where/isin is also basically equivalent to indexing, so I think it's appropriate on that doc page, too.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Isin 309976469
378466084 https://github.com/pydata/xarray/pull/2031#issuecomment-378466084 https://api.github.com/repos/pydata/xarray/issues/2031 MDEyOklzc3VlQ29tbWVudDM3ODQ2NjA4NA== dcherian 2448579 2018-04-04T03:07:27Z 2018-04-04T03:07:27Z MEMBER

@shoyer the cookbook might be a good place for that

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Isin 309976469
378463234 https://github.com/pydata/xarray/pull/2031#issuecomment-378463234 https://api.github.com/repos/pydata/xarray/issues/2031 MDEyOklzc3VlQ29tbWVudDM3ODQ2MzIzNA== shoyer 1217238 2018-04-04T02:48:20Z 2018-04-04T02:48:20Z MEMBER

Thanks @maxim-lian.

As a follow-up, it might be nice to include an example showing how to use this for indexing non-dimensions in the narrative docs somewhere -- maybe in the section on where?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Isin 309976469
378423195 https://github.com/pydata/xarray/pull/2031#issuecomment-378423195 https://api.github.com/repos/pydata/xarray/issues/2031 MDEyOklzc3VlQ29tbWVudDM3ODQyMzE5NQ== max-sixty 5635139 2018-04-03T22:45:47Z 2018-04-03T22:45:47Z MEMBER

I'll merge this later tonight given @shoyer 's previous approval, unless there's any feedback

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Isin 309976469
378253855 https://github.com/pydata/xarray/pull/2031#issuecomment-378253855 https://api.github.com/repos/pydata/xarray/issues/2031 MDEyOklzc3VlQ29tbWVudDM3ODI1Mzg1NQ== max-sixty 5635139 2018-04-03T13:40:57Z 2018-04-03T13:40:57Z MEMBER

Green! @shoyer

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Isin 309976469
377642905 https://github.com/pydata/xarray/pull/2031#issuecomment-377642905 https://api.github.com/repos/pydata/xarray/issues/2031 MDEyOklzc3VlQ29tbWVudDM3NzY0MjkwNQ== max-sixty 5635139 2018-03-30T23:08:12Z 2018-03-30T23:08:12Z MEMBER

Any thoughts on this approach of writing out the result on a slice of a sample dataset / dataarray?

I've been thinking about expect tests, as described by @yminsky here. That would be something like: - Have some example datasets (similar to what we do now, though with a well known seed) - Run our functions and save to a file, as a known good output - During tests, compare the result to the known good output - Where different, raise and show the diff

That's a bit harder with numerical data than with small lists of words (the example in the link), but also helpful - we don't have to manually construct the result in python - just check the first time & commit the result. And would enable tests across moderately sized data, rather than only 'toy' examples.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Isin 309976469
377575798 https://github.com/pydata/xarray/pull/2031#issuecomment-377575798 https://api.github.com/repos/pydata/xarray/issues/2031 MDEyOklzc3VlQ29tbWVudDM3NzU3NTc5OA== shoyer 1217238 2018-03-30T17:24:41Z 2018-03-30T17:24:41Z MEMBER

Let's just skip the tests if numpy is too old.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Isin 309976469
377573270 https://github.com/pydata/xarray/pull/2031#issuecomment-377573270 https://api.github.com/repos/pydata/xarray/issues/2031 MDEyOklzc3VlQ29tbWVudDM3NzU3MzI3MA== max-sixty 5635139 2018-03-30T17:12:56Z 2018-03-30T17:12:56Z MEMBER

Fails on Numpy pre 1.13. Is that too recent to upgrade min version? 1.14.2 is current, so would be aggressive

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Isin 309976469

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