home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 369971985

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/1951#issuecomment-369971985 https://api.github.com/repos/pydata/xarray/issues/1951 369971985 MDEyOklzc3VlQ29tbWVudDM2OTk3MTk4NQ== 1217238 2018-03-02T16:24:44Z 2018-03-02T16:24:44Z MEMBER

I like the idea of an einsum wrapper for xarray. This would probably be straightforward to build on top of the apply_ufunc machinery. I wouldn't worry about the lack of einsum for dask yet -- the linked dask issue already has several implementations, so we could easily add that later if desired.

There are at least two versions of this: - A dim argument for DataArray.dot that indicates which dimension(s) to sum over. - A function for applying this to many arrays simultaneously. Maybe xarray.dot(da1, da2, da3, dims=['x', 'y'])? This would use einsum internally but we don't need to specify the input dimensions again because we already have them on the DataArray objects.

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  301657312
Powered by Datasette · Queries took 0.756ms · About: xarray-datasette