home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 753426964

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/4612#issuecomment-753426964 https://api.github.com/repos/pydata/xarray/issues/4612 753426964 MDEyOklzc3VlQ29tbWVudDc1MzQyNjk2NA== 5635139 2021-01-02T03:55:30Z 2021-01-02T03:55:30Z MEMBER

Thanks, I agree this looks like a bug.

One oddity is that by supplying dtype="u8" I see the assignment having no effect:

```

In [18]: import xarray ...: import numpy ...: da = xarray.DataArray(numpy.array([0,1], dtype="u8")) ...: da[0] = numpy.nan ...: print(da) <xarray.DataArray (dim_0: 2)> array([0, 1], dtype=uint64) Dimensions without coordinates: dim_0 ```

I see the same result without the dtype arg.

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