issues: 197779069
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
197779069 | MDExOlB1bGxSZXF1ZXN0OTk0OTc4MDY= | 1187 | add quantile method to DataArray | 2443309 | closed | 0 | 2 | 2016-12-28T01:06:51Z | 2017-01-23T18:22:14Z | 2017-01-23T18:22:14Z | MEMBER | 0 | pydata/xarray/pulls/1187 | This PR adds the example usage: ```Python In [12]: x = np.random.random(size=(2, 3, 800)) In [13]: da = xr.DataArray(x, dims=('x', 'y', 'time')) In [14]: da.quantile([1, 5, 10, 25, 50, 75, 90, 95, 99], dim='time', interpolation='lower') Out[14]: <xarray.DataArray (quantile: 9, x: 2, y: 3)> array([[[ 0.00835474, 0.01126747, 0.00778847], [ 0.00803924, 0.00919259, 0.01150164]],
Coordinates: * quantile (quantile) float64 1.0 5.0 10.0 25.0 50.0 75.0 90.0 95.0 99.0 o x (x) - o y (y) - ``` closes #303 fixes #561 |
{ "url": "https://api.github.com/repos/pydata/xarray/issues/1187/reactions", "total_count": 2, "+1": 2, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
13221727 | pull |