home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 906684380

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/5654#issuecomment-906684380 https://api.github.com/repos/pydata/xarray/issues/5654 906684380 IC_kwDOAMm_X842Cufc 6213168 2021-08-26T19:30:25Z 2021-08-26T19:50:20Z MEMBER

Third and final issue is when numpy.broadcast_to is applied to the output of zeros_like: ```

import sparse s = sparse.COO.from_numpy([0, 0, 1, 2]) np.broadcast_to(np.zeros_like(s.todense(), shape=()), (3, )) array([0, 0, 0]) np.broadcast_to(np.zeros_like(s, shape=()), (3, )) ValueError: The data length does not match the coordinates given. len(data) = 0, but 3 coords specified. ```

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