home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 1381294181 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • dcherian 1
  • slevang 1

author_association 2

  • CONTRIBUTOR 1
  • MEMBER 1

issue 1

  • Rolling mean on dask array does not preserve dtype · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1254063029 https://github.com/pydata/xarray/issues/7062#issuecomment-1254063029 https://api.github.com/repos/pydata/xarray/issues/7062 IC_kwDOAMm_X85Kv3u1 slevang 39069044 2022-09-21T18:15:46Z 2022-09-21T18:15:46Z CONTRIBUTOR

Without bottleneck, I guess both options from the MVCE above get routed through _mean: ```python

xr.set_options(use_bottleneck=False) da = xr.DataArray([1,2,3], coords={'x':[1,2,3]}).astype('float32') da.rolling(x=3, min_periods=1).mean().dtype dtype('float64') da.chunk({'x':1}).rolling(x=3, min_periods=1).mean().dtype dtype('float64') ```

And after #7063: ```python

xr.set_options(use_bottleneck=False) da = xr.DataArray([1,2,3], coords={'x':[1,2,3]}).astype('float32') da.rolling(x=3, min_periods=1).mean().dtype dtype('float32') da.chunk({'x':1}).rolling(x=3, min_periods=1).mean().dtype dtype('float32') ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Rolling mean on dask array does not preserve dtype 1381294181
1254047656 https://github.com/pydata/xarray/issues/7062#issuecomment-1254047656 https://api.github.com/repos/pydata/xarray/issues/7062 IC_kwDOAMm_X85Kvz-o dcherian 2448579 2022-09-21T18:01:25Z 2022-09-21T18:01:25Z MEMBER

Is this also true with xr.set_options(use_bottleneck=False)?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Rolling mean on dask array does not preserve dtype 1381294181

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