home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 44594982 and user = 167164 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

  • naught101 · 2 ✖

issue 1

  • Add a "drop" option to squeeze · 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
267510339 https://github.com/pydata/xarray/issues/242#issuecomment-267510339 https://api.github.com/repos/pydata/xarray/issues/242 MDEyOklzc3VlQ29tbWVudDI2NzUxMDMzOQ== naught101 167164 2016-12-16T03:43:58Z 2016-12-16T03:43:58Z NONE

Awesome, thanks shoyer! :)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add a "drop" option to squeeze 44594982
216445714 https://github.com/pydata/xarray/issues/242#issuecomment-216445714 https://api.github.com/repos/pydata/xarray/issues/242 MDEyOklzc3VlQ29tbWVudDIxNjQ0NTcxNA== naught101 167164 2016-05-03T06:04:47Z 2016-05-03T06:04:47Z NONE

Not sure if it's worth a separate feature request, but it'd be great to have a drop option in .isel() as well. For example:

``` python

ds <xarray.Dataset> Dimensions: (lat: 360, lon: 720, time: 2928) Coordinates: * lon (lon) float64 0.25 0.75 1.25 1.75 2.25 2.75 3.25 3.75 4.25 4.75 ... * lat (lat) float64 -89.75 -89.25 -88.75 -88.25 -87.75 -87.25 -86.75 ... * time (time) datetime64[ns] 2012-01-01 2012-01-01T03:00:00 ... Data variables: dswrf (time, lat, lon) float64 446.5 444.9 445.3 447.8 452.4 456.3 ...

ds.isel(lat=0, lon=0, drop=True) <xarray.Dataset> Dimensions: (time: 2928) Coordinates: * time (time) datetime64[ns] 2012-01-01 2012-01-01T03:00:00 ... Data variables: dswrf (time) float64 446.5 444.9 445.3 447.8 452.4 456.3 ... ```

This would be useful for making .to_dataframe() more efficient, too, I suspect, since I have to currently do forcing.isel(lat=0, lon=0).to_dataframe()[['dswrf']] to remove the (constant) lat/lon data from the dataframe.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add a "drop" option to squeeze 44594982

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