home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1254063029

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/7062#issuecomment-1254063029 https://api.github.com/repos/pydata/xarray/issues/7062 1254063029 IC_kwDOAMm_X85Kv3u1 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
}
  1381294181
Powered by Datasette · Queries took 0.767ms · About: xarray-datasette