home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER", issue = 248273793 and user = 10050469 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • fmaussion · 2 ✖

issue 1

  • Plotting datasets with variable coordinates · 2 ✖

author_association 1

  • MEMBER · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
370594116 https://github.com/pydata/xarray/issues/1503#issuecomment-370594116 https://api.github.com/repos/pydata/xarray/issues/1503 MDEyOklzc3VlQ29tbWVudDM3MDU5NDExNg== fmaussion 10050469 2018-03-05T22:42:24Z 2018-03-05T22:42:24Z MEMBER

No it doesn't! Your most recent PR still checks for the kwarg in dims, not in coordinates.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Plotting datasets with variable coordinates 248273793
320535308 https://github.com/pydata/xarray/issues/1503#issuecomment-320535308 https://api.github.com/repos/pydata/xarray/issues/1503 MDEyOklzc3VlQ29tbWVudDMyMDUzNTMwOA== fmaussion 10050469 2017-08-06T21:53:16Z 2017-08-06T21:54:24Z MEMBER

On 08/06/2017 11:37 PM, Sam Miller wrote:

Is the behavior that xarray is showing by design or is it a corner case that I'm getting because I'm not using xarray in the way it was originally intended?

Xarray follows the CF conventions as far as possible, and the convention states that dimension coordinates should have the same name as their dimension. See the docs for terminology: http://xarray.pydata.org/en/latest/data-structures.html#coordinates

What we could do however is to add a "x" kwarg to plot.line so that one can specify which coordinate to use for the plot, like plot.pcolormesh

i.e. it would be possible to do:

ds.variable.plot(x='r')

Instead of renaming the dimension for it to become a dimension coordinate.

Thoughts?

Cheers,

Fabien

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Plotting datasets with variable coordinates 248273793

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