issues: 472100381
This data as json
id | node_id | number | title | user | state | locked | assignee | milestone | comments | created_at | updated_at | closed_at | author_association | active_lock_reason | draft | pull_request | body | reactions | performed_via_github_app | state_reason | repo | type |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
472100381 | MDExOlB1bGxSZXF1ZXN0MzAwNTc2Nzc4 | 3159 | Initialize empty or full DataArray | 23618263 | closed | 0 | 20 | 2019-07-24T06:21:50Z | 2019-08-27T16:28:04Z | 2019-08-26T20:36:36Z | CONTRIBUTOR | 0 | pydata/xarray/pulls/3159 | I attempted to implement what has been asked for in #277 as an effort to contribute to this project.
This PR adds the ability to initialize a DataArray with a constant value, including
Regarding the tests, I am not sure how to test the creation of an empty DataArray with |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3159/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | pull |