home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where author_association = "MEMBER", issue = 374473176 and user = 1217238 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

  • shoyer · 1 ✖

issue 1

  • Allow reduce to return an additional dimension · 1 ✖

author_association 1

  • MEMBER · 1 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
433493555 https://github.com/pydata/xarray/issues/2518#issuecomment-433493555 https://api.github.com/repos/pydata/xarray/issues/2518 MDEyOklzc3VlQ29tbWVudDQzMzQ5MzU1NQ== shoyer 1217238 2018-10-26T18:00:18Z 2018-10-26T18:00:18Z MEMBER

The general pattern of functions used with reduce() is that they remove a dimension.

But you could do this with apply_ufunc instead, e.g., something like: ```python def interptotarget(y, x, target): return interp1d(x, y)(target)

target = xr.DataArray([213.5, 213.6], dims='target_lon') xr.apply_ufunc(interptotarget, airtemps, airtemps.lon, target, input_core_dims=[['lon'], ['lon'], ['target_lon']], output_core_dims=[['target_lon']] ).assign_coords(target_lon=target) results in <xarray.Dataset> Dimensions: (lat: 25, target_lon: 2, time: 2920) Coordinates: * lat (lat) float32 75.0 72.5 70.0 67.5 65.0 ... 22.5 20.0 17.5 15.0 * time (time) datetime64[ns] 2013-01-01 ... 2014-12-31T18:00:00 * target_lon (target_lon) float64 213.5 213.6 Data variables: air (time, lat, target_lon) float64 243.8 243.8 ... 298.6 298.6 ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Allow reduce to return an additional dimension 374473176

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