
May 11, 2001
5:59 p.m.
Paul F. Dubois writes:
I see your point, but this doesn't generalize to x having more than one dimension. And with my semantics, for your example (assuming 1-d), you could substitute compress((x > 10).filled(0), x) which isn't very obscure. Moreover, sometimes it is interesting to compress an array in such a way that masked values are carried along as masked values; this cannot be done with the existing compress(). Michael -- Michael Haggerty mhagger@alum.mit.edu
8713
Age (days ago)
8713
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Haggerty