Skip to content

to_begin and to_end options cumsum? #2023

Open
@tdegeus

Description

@tdegeus

When wanting the convert the number of elements per 'bin' to a slice it could be useful to be able to prepend a zero to the result of cumsum. NumPy allows this in its implementation of ediff1d (https://docs.scipy.org/doc/numpy/reference/generated/numpy.ediff1d.html)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions