home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 484923134

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/2907#issuecomment-484923134 https://api.github.com/repos/pydata/xarray/issues/2907 484923134 MDEyOklzc3VlQ29tbWVudDQ4NDkyMzEzNA== 2448579 2019-04-19T15:02:59Z 2019-04-19T15:02:59Z MEMBER

You have two different dimensions here; and xarray is broadcasting so those two statements are not equal i.e. both weights and models end up being 2D arrays which are then operated upon by dot.

How about xr.dot(weights_da.rename({'models': 'model name'}), models)?

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