home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1324753837

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/7297#issuecomment-1324753837 https://api.github.com/repos/pydata/xarray/issues/7297 1324753837 IC_kwDOAMm_X85O9iOt 4160723 2022-11-23T09:17:33Z 2022-11-23T09:17:33Z MEMBER

But does this still work properly with broadcasting? For example, let's say there is another data variable b (midx) and an operation is done like ds_stacked['c'] = ds_stacked.a + ds_stacked.b. Then it should be that c (midx) and a (x) should be "repeated" to midx.x

I think it would keep things much simpler if we consider "x" and "midx" as two separate dimensions in the stacked Dataset, i.e., ds_stacked['c'] would result in a 2-d array (x, midx). There's no such thing like a "midx.x" dimension in Xarray.

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