home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 405950145

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/2267#issuecomment-405950145 https://api.github.com/repos/pydata/xarray/issues/2267 405950145 MDEyOklzc3VlQ29tbWVudDQwNTk1MDE0NQ== 1200058 2018-07-18T14:26:58Z 2018-07-18T14:27:35Z NONE

Maybe related:

Consider the following example to calculate pairwise distances: x = np.array([[1,2,3,4]]) dist = x.T - x numpy automatically broadcasts the one-dimensions to get 4x4 matrices and substracts them.

As far as I can see, this example is really hard to recreate with xarray, since there is nearly no possibility to add a new dimension to x and broadcast it properly.

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