home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 992713850

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/pull/6059#issuecomment-992713850 https://api.github.com/repos/pydata/xarray/issues/6059 992713850 IC_kwDOAMm_X847K5x6 488992 2021-12-13T17:39:03Z 2021-12-13T17:39:03Z CONTRIBUTOR

@mathause About this:

I did some tries and got an unexpected result:

```python data = xr.DataArray([0, 1, 2, 3]) weights = xr.DataArray([1, 0, 1, 0]) data.weighted(weights).quantile([0.75])

np.quantile([0, 2], 0.75) ```

Can you double-check? Or do I misunderstand something?

My latest commit should fix (and test) this.

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