home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 159117442

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
159117442 MDU6SXNzdWUxNTkxMTc0NDI= 876 xarray.ufuncs.maximum() between constant and dask array 6213168 closed 0     1 2016-06-08T09:23:01Z 2016-07-20T05:51:02Z 2016-07-20T05:51:02Z MEMBER      

Take a dask-backed array: a = xarray.DataArray(dask.array.random.random(100 * 2**30, chunks=2**20)) This works: b = xarray.ufuncs.maximum(a, 0) This will cripple your computer and force you to reboot: b = xarray.ufuncs.maximum(0, a)

In the second case, xarray.ufuncs.maximum is resolving the dask array - in other wods, it's doing numpy.maximum(0, a.values)

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/876/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 1 row from issues_id in issues_labels
  • 1 row from issue in issue_comments
Powered by Datasette · Queries took 0.687ms · About: xarray-datasette