On Fri, Jun 5, 2015 at 11:50 AM, Anne Archibald wrote:
>
>
> On Fri, Jun 5, 2015 at 5:45 PM Sebastian Berg
> wrote:
>
>> On Fr, 2015-06-05 at 08:36 -0400, josef.p...@gmail.com wrote:
>> >
>>
>> >
>> > What is actually being deprecated?
>> > It looks like there are different examples.
>> >
>> >
On Fri, Jun 5, 2015 at 5:45 PM Sebastian Berg
wrote:
> On Fr, 2015-06-05 at 08:36 -0400, josef.p...@gmail.com wrote:
> >
>
> >
> > What is actually being deprecated?
> > It looks like there are different examples.
> >
> >
> > wrong length: Nathaniels first example above, where the mask is not
>
On Thu, Jun 4, 2015 at 10:41 PM, Nathaniel Smith wrote:
> My comment was about the second type. Are your comments about the
> second type? The second type definitely does not produce a flattened
> array:
>
I was talking about the second type in that I never even knew it existed.
My understandin
On Fr, 2015-06-05 at 08:36 -0400, josef.p...@gmail.com wrote:
>
>
> What is actually being deprecated?
> It looks like there are different examples.
>
>
> wrong length: Nathaniels first example above, where the mask is not
> broadcastable to original array because mask is longer or shorter tha
On Fri, Jun 5, 2015 at 3:16 AM, Sebastian Berg
wrote:
> On Do, 2015-06-04 at 18:04 -0700, Nathaniel Smith wrote:
> > On Thu, Jun 4, 2015 at 5:57 PM, Nathaniel Smith wrote:
> > > So specifically the question is -- if you have an array with five
> > items, and
> > > a Boolean array with three item
On Fr, 2015-06-05 at 15:17 +0800, Pablo wrote:
> Hi,
> If I want to remove 1 element in the beginning and the end of a numpy
> array "x" we do:
>
> x[1:-1]
>
> Now, if we have a border variable, and borders are allowed to be zero
> (which means no border), numpy syntax is inconvenient. For exam
Hi,
If I want to remove 1 element in the beginning and the end of a numpy
array "x" we do:
x[1:-1]
Now, if we have a border variable, and borders are allowed to be zero
(which means no border), numpy syntax is inconvenient. For example if
border=numpy.asarray([1,0]) and we try
x[border[0],-bo
On Do, 2015-06-04 at 18:04 -0700, Nathaniel Smith wrote:
> On Thu, Jun 4, 2015 at 5:57 PM, Nathaniel Smith wrote:
> > So specifically the question is -- if you have an array with five
> items, and
> > a Boolean array with three items, then currently you can use the
> later to
> > index the former: