issues: 577088426
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
577088426 | MDU6SXNzdWU1NzcwODg0MjY= | 3843 | Implement `skipna` in xr.quantile for speedup | 12237157 | closed | 0 | 1 | 2020-03-06T17:58:28Z | 2020-03-08T17:42:43Z | 2020-03-08T17:42:43Z | CONTRIBUTOR |
MCVE Code Sample
%time _ = np.quantile(control,q,axis=0) CPU times: user 47.1 ms, sys: 4.27 ms, total: 51.4 ms Wall time: 52.6 ms %time _ = np.nanquantile(control,q,axis=0) CPU times: user 3.18 s, sys: 21.4 ms, total: 3.2 s Wall time: 3.22 s ``` Expected Outputfaster xr.quantile: ``` %time _ = control.quantile(dim='time',q=q) CPU times: user 4.95 s, sys: 34.3 ms, total: 4.98 s Wall time: 5.88 s %time _ = control.quantile(dim='time',q=q, skipna=False) CPU times: user 85.3 ms, sys: 16.7 ms, total: 102 ms Wall time: 127 ms ``` Problem Descriptionnp.nanquantile not always needed VersionsOutput of `xr.show_versions()`xr=0.15.1 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3843/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |