issues: 289790965
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 289790965 | MDU6SXNzdWUyODk3OTA5NjU= | 1838 | DataArray.sum does not respect dtype keyword | 500246 | closed | 0 | 2 | 2018-01-18T22:01:07Z | 2018-01-20T18:29:02Z | 2018-01-20T18:29:02Z | CONTRIBUTOR | Code Sample, a copy-pastable example if possible```python Your code hereda = xarray.DataArray(arange(5, dtype="i2")) print(da.sum(dtype="i4").dtype) ``` Problem descriptionThe result is int64. This is a problem because I asked for int32. Expected OutputExpected output Output of
|
{
"url": "https://api.github.com/repos/pydata/xarray/issues/1838/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
completed | 13221727 | issue |