issue_comments: 906631637
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-906631637 | https://api.github.com/repos/pydata/xarray/issues/5654 | 906631637 | IC_kwDOAMm_X842ChnV | 11656932 | 2021-08-26T18:12:01Z | 2021-08-26T18:12:01Z | CONTRIBUTOR | Hrm, looking at the API docs for ```python In [1]: import sparse In [2]: sparse.version Out[2]: '0.12.0' In [3]: import numpy as np In [4]: x = np.arange(6) In [5]: y = sparse.zeros_like(x, shape=(3, 2)) In [6]: y Out[6]: <COO: shape=(3, 2), dtype=int64, nnz=0, fill_value=0> In [7]: y.todense() Out[7]: array([[0, 0], [0, 0], [0, 0]]) ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
957131705 |