home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 551359502

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/3445#issuecomment-551359502 https://api.github.com/repos/pydata/xarray/issues/3445 551359502 MDEyOklzc3VlQ29tbWVudDU1MTM1OTUwMg== 10554254 2019-11-08T02:41:13Z 2019-11-08T02:41:13Z NONE

@El-minadero from the sparse API page I'm seeing two methods for combining data:

```python import sparse import numpy as np

A = sparse.COO.from_numpy(np.array([[1, 2], [3, 4]])) B = sparse.COO.from_numpy(np.array([[5, 9], [6, 8]])) sparse.stack([A,B]).todense()

Out[1]: array([[[1, 2], [3, 4]], [[5, 9], [6, 8]]])

sparse.concatenate([A,B]).todense()

Out[2]: array([[1, 2], [3, 4], [5, 9], [6, 8]]) `` Since this is an issue withsparse` and merging data doesn't seem to be supported at this time, you might consider closing this issue out here and raising it over at sparse.

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