[Numpy-discussion] compress numpy vs .numarray

Sebastian Haase seb.haase at gmx.net
Thu Jan 4 18:55:07 CST 2007


On 1/4/07, Sebastian Haase <seb.haase at gmx.net> wrote:
> Hi!
> when calling compress
> I get this error message after moving to numpy:
>
> ValueError: 'condition must be 1-d array'
>
> Is the reason for this the change of the default axis from
> axis=0
> to
> axis=None
>
> What does axis=None mean in this case !?
>

Is N.extract()  the equivalent of numarray.compress()  ?


-Sebastian


More information about the Numpy-discussion mailing list