issue_comments: 717320425
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/4541#issuecomment-717320425 | https://api.github.com/repos/pydata/xarray/issues/4541 | 717320425 | MDEyOklzc3VlQ29tbWVudDcxNzMyMDQyNQ== | 10194086 | 2020-10-27T15:23:55Z | 2020-10-27T15:23:55Z | MEMBER | The discussion goes back to here: https://github.com/pydata/xarray/pull/2922#issuecomment-545200082 (by @dcherian)
Thinking a bit more about this I now favour the In addition, I am also not entirely sure I understand where your issue lies. You eventually have to compute, right? Do you do something between Ah maybe I understand, your data looks like:
And now My limited speed tests:
```python
import numpy as np
import xarray as xr
a = xr.DataArray(np.random.randn(1000, 1000, 10, 10))
%timeit a.isnull().any()
%timeit a.fillna(0)
b = xr.DataArray(np.random.randn(1000, 1000, 10, 10)).chunk(100)
%timeit b.isnull().any()
%timeit b.fillna(0)
```
|
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
729980097 |