home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 75276367

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/328#issuecomment-75276367 https://api.github.com/repos/pydata/xarray/issues/328 75276367 MDEyOklzc3VlQ29tbWVudDc1Mjc2MzY3 306380 2015-02-20T17:06:41Z 2015-02-20T17:06:41Z MEMBER
  • support for NaN skipping aggregations

Presumably we could drop in numbagg here. The reductions are generally pretty straightforward to extend. I can do this relatively soon. See https://github.com/ContinuumIO/dask/blob/master/dask/array/reductions.py#L43-L111 - support for interleaved concatenation (necessary for transformations by group, which are quite common)

Do we have this already? Or rather can you point me to how you would do this with NumPy. - support super-imposing array values inter-leaved on top of a constant array of NaN (necessary for many alignment operations)

Would this be solved by an elementwise ifelse operation? ifelse(condition, x, y) - support "orthogonal" MATLAB-like array-based indexing along multiple dimensions

You can do this now by repeated slicing x[[1, 2, 3], :][:, [4, 5, 6]] and get a fully efficient solution. I can roll this in to the normal syntax though. I might pause for a bit as I think about the break that this causes with NumPy but I'll probably go ahead anyway.

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