home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 276232678

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/60#issuecomment-276232678 https://api.github.com/repos/pydata/xarray/issues/60 276232678 MDEyOklzc3VlQ29tbWVudDI3NjIzMjY3OA== 8982598 2017-01-31T00:06:02Z 2017-01-31T00:06:02Z CONTRIBUTOR

So I thought take was just the functional equivalent of fancy indexing - I spotted it in the dask api and assumed it would work but having tried it does indeed just raise a 'not implemented error'. Just as a note, with the map_blocks approach above take is working for some cases where x[inds, ] is not -- related to #1237?

Regarding edge cases: multiple maxes is presumably fine as long as user is aware it just takes the first. However, nanargmax is probably the actual desired function here, but looks like it will raise on all-nan slices. Would dropping these and then re-aligning be too much overhead?

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