issues: 897689314
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
897689314 | MDU6SXNzdWU4OTc2ODkzMTQ= | 5358 | Support `range` in `groupby_bins` | 30388627 | closed | 0 | 4 | 2021-05-21T05:25:12Z | 2021-05-31T19:10:24Z | 2021-05-21T12:44:39Z | NONE | Although Here's an example: ``` from scipy.stats import binned_statistic import numpy as np import xarray as xr --- scipy method ---x = np.arange(500) values = x*50 statistics, _, _ = binned_statistic(x, values, statistic='min', bins=500, range=(0, 500)) --- xarray method ---x = xr.DataArray(x) values = xr.DataArray(values) x.groupby_bins('dim_0', bins=500).min() ``` I can set |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/5358/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |