home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where user = 6051395 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 2

  • xarray.DataArray.where always returns array of float64 regardless of input dtype 2
  • Update where docstring to make return value type more clear 1

user 1

  • pmallas · 3 ✖

author_association 1

  • CONTRIBUTOR 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
543191505 https://github.com/pydata/xarray/pull/3408#issuecomment-543191505 https://api.github.com/repos/pydata/xarray/issues/3408 MDEyOklzc3VlQ29tbWVudDU0MzE5MTUwNQ== pmallas 6051395 2019-10-17T14:07:07Z 2019-10-17T14:07:07Z CONTRIBUTOR

@max-sixty I am fine with that. I think I accepted your suggestion. So, we're good.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Update where docstring to make return value type more clear 508139990
542923697 https://github.com/pydata/xarray/issues/3390#issuecomment-542923697 https://api.github.com/repos/pydata/xarray/issues/3390 MDEyOklzc3VlQ29tbWVudDU0MjkyMzY5Nw== pmallas 6051395 2019-10-16T22:52:48Z 2019-10-16T22:52:48Z CONTRIBUTOR

@dcherian Ok, I think I proposed a change correctly - never done this before.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xarray.DataArray.where always returns array of float64 regardless of input dtype 505493879
541089865 https://github.com/pydata/xarray/issues/3390#issuecomment-541089865 https://api.github.com/repos/pydata/xarray/issues/3390 MDEyOklzc3VlQ29tbWVudDU0MTA4OTg2NQ== pmallas 6051395 2019-10-11T14:33:02Z 2019-10-11T14:33:02Z CONTRIBUTOR

Yes, I read the return type as the 'same type as caller' and at first I expected the array type to be the same. I soon realized that means a DataArray or DataSet. And for your output array to support nan values, it has to be float. My bad - sorry for the clutter.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xarray.DataArray.where always returns array of float64 regardless of input dtype 505493879

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