home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 354575001

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/1792#issuecomment-354575001 https://api.github.com/repos/pydata/xarray/issues/1792 354575001 MDEyOklzc3VlQ29tbWVudDM1NDU3NTAwMQ== 1217238 2017-12-30T23:37:51Z 2017-12-30T23:37:51Z MEMBER

Yes, I suppose we can consider this a bug. The right behavior would be to convert the masked array into an xarray object before the operation, e.g., In [14]: da > xarray.DataArray(ma) Out[14]: <xarray.DataArray (dim_0: 5)> array([False, False, False, False, False], dtype=bool) Dimensions without coordinates: dim_0

We currently don't have any masked array specific logic for arithmetic so this would require special case handling.

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