Considering the number of `-1`s, how about >>> a=numarray.arange(6, type=numarray.Bool); a[::2] = 0; a array([F, T, F, T, F, T], type=Bool) which is short and readable. Pearu
View entire thread
You seem to have CSS turned off. Please don't fill out this field.
Click URL instructions: Right-click on the ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads)
Ad destination/click URL: