[Numpy-discussion] Slice specified axis

Benjamin Root ben.root@ou....
Tue Apr 10 12:13:12 CDT 2012


On Tue, Apr 10, 2012 at 12:52 PM, Jonathan T. Niehof <jniehof@lanl.gov>wrote:

> On 04/09/2012 09:11 PM, Tony Yu wrote:
>
> > I guess I wasn't reading very carefully and assumed that you meant a
> > list of `slice(None)` instead of a list of `None`.
>
> My apologies to Ben...I wasn't being pedantic to be a jerk, I was being
> pedantic because I read Ben's message and thought "oooh, that works?"
> and ran off to try it, since I'd just been writing some very similar
> code. And sadly, it doesn't.
>
>
No offense taken.  Such mistakes should be pointed out so that future
readers of the mailing list archives will have the correct information
available to them.  Bad mailing list comments are just as bad as outdated
source code comments.

Cheers!
Ben Root
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120410/5863a28b/attachment.html 


More information about the NumPy-Discussion mailing list