Sebastian Haase wrote:
> Is N.extract() the equivalent of numarray.compress() ?
Only for the specific flattening behavior that you are talking about. However,
numpy.extract() does not have the axis= argument that numarray.compress() does.
--
Robert Kern
"I have come to believe that the whole
Sebastian Haase 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
Not really, it's just that N-d arrays don't make much sens
On 1/4/07, Sebastian Haase <[EMAIL PROTECTED]> 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 i
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 !?
Thanks,
-Sebastian