home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

5 rows where author_association = "MEMBER" and issue = 325475880 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

  • keewis 3
  • shoyer 1
  • max-sixty 1

issue 1

  • Formatting error in conjunction with pandas.DataFrame · 5 ✖

author_association 1

  • MEMBER · 5 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
818809259 https://github.com/pydata/xarray/issues/2173#issuecomment-818809259 https://api.github.com/repos/pydata/xarray/issues/2173 MDEyOklzc3VlQ29tbWVudDgxODgwOTI1OQ== keewis 14808389 2021-04-13T15:04:51Z 2021-04-13T15:04:51Z MEMBER

let's continue this in #5148

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Formatting error in conjunction with pandas.DataFrame 325475880
618562519 https://github.com/pydata/xarray/issues/2173#issuecomment-618562519 https://api.github.com/repos/pydata/xarray/issues/2173 MDEyOklzc3VlQ29tbWVudDYxODU2MjUxOQ== keewis 14808389 2020-04-23T18:12:53Z 2021-04-13T13:29:40Z MEMBER

This works: ```diff diff --git a/xarray/core/utils.py b/xarray/core/utils.py index 1126cf30..355fb552 100644 --- a/xarray/core/utils.py +++ b/xarray/core/utils.py @@ -453,7 +453,7 @@ class SortedKeysDict(MutableMapping[K, V]): del self.mapping[key]

 def __iter__(self) -> Iterator[K]:
  • return iter(sorted(self.mapping))
  • return iter(sorted(self.mapping, key=str))

    def len(self) -> int: return len(self.mapping) ``` But maybe it is too naive?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Formatting error in conjunction with pandas.DataFrame 325475880
618488466 https://github.com/pydata/xarray/issues/2173#issuecomment-618488466 https://api.github.com/repos/pydata/xarray/issues/2173 MDEyOklzc3VlQ29tbWVudDYxODQ4ODQ2Ng== keewis 14808389 2020-04-23T16:06:32Z 2020-04-23T16:06:32Z MEMBER

I can reproduce this on master so there's still more to do to fix this. Maybe we could try sorting using the str representation of the dimension names?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Formatting error in conjunction with pandas.DataFrame 325475880
618469296 https://github.com/pydata/xarray/issues/2173#issuecomment-618469296 https://api.github.com/repos/pydata/xarray/issues/2173 MDEyOklzc3VlQ29tbWVudDYxODQ2OTI5Ng== max-sixty 5635139 2020-04-23T15:35:36Z 2020-04-23T15:35:36Z MEMBER

Closed by #2174

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Formatting error in conjunction with pandas.DataFrame 325475880
391168143 https://github.com/pydata/xarray/issues/2173#issuecomment-391168143 https://api.github.com/repos/pydata/xarray/issues/2173 MDEyOklzc3VlQ29tbWVudDM5MTE2ODE0Mw== shoyer 1217238 2018-05-22T23:02:40Z 2018-05-22T23:02:40Z MEMBER

This is a manifestation of the same issue as https://github.com/pydata/xarray/issues/2172: you are using integers as dimension names, which we don't support very well.

In this case, you end up with mixed integers/strings as dimension names, which means our internal use of sorted() in repr(x) fails.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Formatting error in conjunction with pandas.DataFrame 325475880

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