[Numpy-discussion] Slice specified axis

Jonathan T. Niehof jniehof@lanl....
Tue Apr 10 11:52:46 CDT 2012


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.

-- 
Jonathan Niehof
ISR-3 Space Data Systems
Los Alamos National Laboratory
MS-D466
Los Alamos, NM 87545

Phone: 505-667-9595
email: jniehof@lanl.gov

Correspondence /
Technical data or Software Publicly Available


More information about the NumPy-Discussion mailing list