home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where user = 6588826 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

issue 2

  • sel(method=x) is not propagated for MultiIndex 1
  • DataArray.plot.line color kwarg 1

user 1

  • martintb · 2 ✖

author_association 1

  • NONE 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
696911150 https://github.com/pydata/xarray/issues/2978#issuecomment-696911150 https://api.github.com/repos/pydata/xarray/issues/2978 MDEyOklzc3VlQ29tbWVudDY5NjkxMTE1MA== martintb 6588826 2020-09-22T18:47:39Z 2020-09-22T18:50:13Z NONE

I'm running into this issue too with Python 3.7.6, Pandas 1.0.5, and xArray 0.16.1. While updating the documentation to indicate that nearest selection doesn't work on MultiIndex would be great, is there a path towards implementing this feature?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  sel(method=x) is not propagated for MultiIndex 446868198
637064512 https://github.com/pydata/xarray/issues/4115#issuecomment-637064512 https://api.github.com/repos/pydata/xarray/issues/4115 MDEyOklzc3VlQ29tbWVudDYzNzA2NDUxMg== martintb 6588826 2020-06-01T19:43:47Z 2020-06-01T19:43:47Z NONE

That's interesting and I really though that syntax worked for plain matplotlib.

Looking here and here it appears that they are manually mapping colors to dataframe columns. I can emulate this to some extent as:

python lines = da.plot.line(x='x') colors = cmapper(da.y.values) [l.set_color(c) for l,c in zip(lines,colors)]

I admit that I haven't read much on cyclers but I don't think they'll work well in my case as I mention above. If my first call to plot has np.arange(0,100,10.0) and the second np.arange(0,100,20.0), I still need the colors to correctly match up. Please correct me if there's a better what to do this!

Either way, this appears to be more of a feature request than a bug. I'll close this unless it warrants more discussion.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DataArray.plot.line color kwarg 628089013

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