home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 358847017

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/1838#issuecomment-358847017 https://api.github.com/repos/pydata/xarray/issues/1838 358847017 MDEyOklzc3VlQ29tbWVudDM1ODg0NzAxNw== 6815844 2018-01-19T02:21:39Z 2018-01-19T02:22:06Z MEMBER

I notice here

https://github.com/pydata/xarray/blob/f3deb2f2495220af819021b199a5305b0d62ef36/xarray/core/duck_array_ops.py#L177-L181

we removed dtype arguments from reduce methods, but I'm not sure why. This might be a bug.

As a temporal solution, python da.reduce(np.sum, dtype="i4") preserves dtype.

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