issue_comments: 406128252
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/2298#issuecomment-406128252 | https://api.github.com/repos/pydata/xarray/issues/2298 | 406128252 | MDEyOklzc3VlQ29tbWVudDQwNjEyODI1Mg== | 6815844 | 2018-07-19T01:47:36Z | 2018-07-19T01:47:36Z | MEMBER | Thanks, @shoyer
Agreed. Actually, it sounds very fun to code the lazy arithmetics.
Yes, I concerned about this. We have discussed to support more kinds of array-likes (e.g. dask, sparse, cupy) in #1938, and I thought the lazy array can be (ideally) one of them. But in practice, it should take a long time to realize the any-array-like support and it might be a good idea to natively support the lazy mathematics for now. If we are heading to any-array-like support, I think that the implementation of the lazy array should be as isolated from xarray core logic as possible so that we can move smoothly to the any-array-like support in the future. Therefore, personally, I'd like to see this lazy math by implementing a lazy array.
The API I thought of is |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
342180429 |