Skip to content

Cummulative numpy functions for Dask Arrays #923

Closed

Description

@pwolfram

Are cumulative numpy functions available for Dask Arrays?

It does not appear that the cumulative functions, e.g., np.cumsum, are available: https://github.com/blaze/dask/blob/master/dask/array/core.py#L1052-L1179 for dask Arrays. Is there a particular reason why this is the case? I'd like to be able to do computations of the form

import dask.array as da                     
import numpy as np                          
x = da.from_array(np.random.rand(10,10),chunks=(2,5))  
x.cumsum(axis=1)                                  

Currently this does not appear to be supported.

Activity

  1. mrocklin commented on Jan 18, 2016

    @mrocklin
    Member

    Looks like they're not around now. No fundamental reason why they wouldn't be doable though.

  2. added a commit that references this issue on Jan 18, 2016
    46243ff
  3. pwolfram commented on Jan 18, 2016

    @pwolfram
    ContributorAuthor

    Thanks @mrocklin!

  4. pwolfram commented on Jan 18, 2016

    @pwolfram
    ContributorAuthor

    This issue is now covered by PR #925 and I am closing it in anticipation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions