home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 289744550

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/1331#issuecomment-289744550 https://api.github.com/repos/pydata/xarray/issues/1331 289744550 MDEyOklzc3VlQ29tbWVudDI4OTc0NDU1MA== 4160723 2017-03-28T11:46:34Z 2017-03-28T11:46:34Z MEMBER

Given your two Datasets and your desired result, why not simply using concat?

python xr.concat([ds1, ds2], dim='y').stack(yx=['y', 'x'])

<xarray.Dataset> Dimensions: (yx: 6) Coordinates: * yx (yx) MultiIndex - y (yx) object 'a' 'a' 'a' 'b' 'b' 'b' - x (yx) int64 1 2 3 1 2 3 Data variables: foo (yx) int64 1 2 3 4 5 6

I don't really understand your last comment (only using ds1). Am I missing something?

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