home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 106562046 and user = 1217238 sorted by updated_at descending

✖
✖
✖

✎ View and edit SQL

This data as json, CSV (advanced)

These facets timed out: author_association, issue

user 1

  • shoyer · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
341587358 https://github.com/pydata/xarray/issues/575#issuecomment-341587358 https://api.github.com/repos/pydata/xarray/issues/575 MDEyOklzc3VlQ29tbWVudDM0MTU4NzM1OA== shoyer 1217238 2017-11-02T23:25:23Z 2017-11-02T23:25:23Z MEMBER

In a first step at least, we could add the x and y arguments to the line plot method to make the API consistent with the 2d plot methods

If an argument is a 1D DataArray, how do we indicate this array's data? The best I can think of is to use some sort of sentinel value, maybe None: df.f.plot(x=None, y='z')

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1D line plot with data on the x axis 106562046
341178561 https://github.com/pydata/xarray/issues/575#issuecomment-341178561 https://api.github.com/repos/pydata/xarray/issues/575 MDEyOklzc3VlQ29tbWVudDM0MTE3ODU2MQ== shoyer 1217238 2017-11-01T17:29:50Z 2017-11-01T17:29:50Z MEMBER

I wonder if it makes more sense to make .plot() a Dataset method as well, so we could write things like ds.plot.line(x='f', y='z') and ds.plot.scatter(x='f', y='z'). Writing ds.f.plot(orient='h') is much less self-explanatory.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1D line plot with data on the x axis 106562046
140556487 https://github.com/pydata/xarray/issues/575#issuecomment-140556487 https://api.github.com/repos/pydata/xarray/issues/575 MDEyOklzc3VlQ29tbWVudDE0MDU1NjQ4Nw== shoyer 1217238 2015-09-15T21:48:40Z 2015-09-15T21:48:40Z MEMBER

I don't think we have an easy way to do this now.

Seaborn uses the keyword argument orient='h' or orient='v' to control orientation for categorical plots like violinplot. That might be a reasonable API to emulate here.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  1D line plot with data on the x axis 106562046

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 6963.386ms · About: xarray-datasette
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows