home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 554785150 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • dcherian 2
  • MeraX 1

author_association 2

  • MEMBER 2
  • CONTRIBUTOR 1

issue 1

  • How to plot boolean vector with current xarray · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
579329576 https://github.com/pydata/xarray/issues/3722#issuecomment-579329576 https://api.github.com/repos/pydata/xarray/issues/3722 MDEyOklzc3VlQ29tbWVudDU3OTMyOTU3Ng== dcherian 2448579 2020-01-28T16:15:39Z 2020-01-28T16:15:39Z MEMBER

If you have a time, we would appreciate a PR. if not, no worries.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  How to plot boolean vector with current xarray 554785150
579217844 https://github.com/pydata/xarray/issues/3722#issuecomment-579217844 https://api.github.com/repos/pydata/xarray/issues/3722 MDEyOklzc3VlQ29tbWVudDU3OTIxNzg0NA== MeraX 5948670 2020-01-28T12:15:24Z 2020-01-28T12:15:24Z CONTRIBUTOR

dcherian, I would appreciate that fix. That is exactly the solution that I use locally.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  How to plot boolean vector with current xarray 554785150
578179959 https://github.com/pydata/xarray/issues/3722#issuecomment-578179959 https://api.github.com/repos/pydata/xarray/issues/3722 MDEyOklzc3VlQ29tbWVudDU3ODE3OTk1OQ== dcherian 2448579 2020-01-24T15:34:33Z 2020-01-24T15:34:33Z MEMBER

matplotlib can plot bool values so we should add that to the check in _ensure_plottable.

https://github.com/pydata/xarray/blob/ecd67f457240db5bc3316c092ca0bb3a134b4239/xarray/plot/utils.py#L528-L565

This should be an easy fix if you are up for it.

A workaround would be to do boolean_da.astype(np.int).plot()

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  How to plot boolean vector with current xarray 554785150

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