issue_comments
1 row where issue = 305757822 and user = 35968931 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- apply_ufunc support for chunks on input_core_dims · 1 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 842556731 | https://github.com/pydata/xarray/issues/1995#issuecomment-842556731 | https://api.github.com/repos/pydata/xarray/issues/1995 | MDEyOklzc3VlQ29tbWVudDg0MjU1NjczMQ== | TomNicholas 35968931 | 2021-05-17T18:59:18Z | 2021-05-17T18:59:18Z | MEMBER | Has this not been solved by the argument @crusaderky isn't this effectively what you were trying to achieve? ```python import xarray as xr def mulsum(a, b): acc = 0 for i in range(a.size): acc += a[i] * b[i] return acc a = xr.DataArray(data=[1, 2, 3], dims=['x']).chunk({"x": 1}) b = xr.DataArray(data=[4, 5, 6], dims=['x']).chunk({"x": 1}) c = xr.apply_ufunc( mulsum, a, b, input_core_dims=[['x'], ['x']], dask='parallelized', output_dtypes=[float], dask_gufunc_kwargs={'allow_rechunk': True}) print(c.compute())
I think this has only been possible since the implementation of If this is actually doing what I think it's doing then we should document this possibility! |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
apply_ufunc support for chunks on input_core_dims 305757822 |
Advanced export
JSON shape: default, array, newline-delimited, object
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]);
user 1