Skip to content


Subversion checkout URL

You can clone with
Download ZIP


segment_axis (Trac #901) #1499

numpy-gitbot opened this Issue · 5 comments

5 participants


Original ticket on 2008-08-31 by @cournape, assigned to @charris.

A patch to have segment_axis (contributed by Anne Archibald I believe) in numpy with tests. It uses as_strided


Attachment added by @cournape on 2008-08-31:


Attachment added by @cournape on 2008-08-31:

@charris charris added Patch labels

Will this ever be merged? If there is a problem with it, is there something that I could do to help move it along ?


+1, very useful and I'd love to see this merged.


@jeremyherbert see also #31

I think we can add something like this. The details need to be hashed out. Like my version has arbitrary dimensions, but no padding. And some of the design choices need to be cleaned up. If you have the patience, please feel do try to figure out what you think is the right functionality/features for such a function.

Then open a pull request and notifying the mailing list for some discussion (in whichever order) and we can get this going.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.