On Sun, Oct 9, 2016 at 4:12 AM, Nathaniel Smith wrote:
> On Sat, Oct 8, 2016 at 6:59 AM, Charles R Harris
> wrote:
> >
> >
> > On Sat, Oct 8, 2016 at 4:40 AM, Nathaniel Smith wrote:
> >>
> >> On Fri, Oct 7, 2016 at 6:12 PM, Charles R Harris
> >> wrote:
> >> > Hi All,
> >> >
> >> > The time for
What do you mean delete? Set to zero or NaN? You want an (N-1) dimensional
array of all the acceptable values from the N dimensional array?
Elliot
On Oct 8, 2016 5:11 PM, "Xristos Xristoou" wrote:
> any idea how to delete pixel from the raster image with
> specific range value using numpy/scipy
On Sat, Oct 8, 2016 at 3:18 PM, Krisztián Horváth wrote:
>
>
>
>> but then that violates the numpy
>> principle that output dtypes should be determined entirely by input
>> dtypes, without peeking at the actual values. (And this rule is very
>> important for avoiding nasty surprises when you run y
but then that violates the numpy
> principle that output dtypes should be determined entirely by input
> dtypes, without peeking at the actual values. (And this rule is very
> important for avoiding nasty surprises when you run your code on new
> inputs.)
>
At division you get back an array of floa
any idea how to delete pixel from the raster image with
specific range value using numpy/scipy or gdal?
for example i have a raster image with the
5 class :
1. 0-100
2. 100-200
3. 200-300
4. 300-500
5. 500-1000
and i want to delete class 1 range value
or maybe i want to delete class 1,2,4,5 if i
On Sat, Oct 8, 2016 at 1:40 PM, V. Armando Sole wrote:
> Well, testing under windows 64 bit, Python 3.5.2, positive powers of
> integers give integers and negative powers of integers give floats. So, do
> you want to raise an exception when taking a negative power of an element of
> an array of in
Well, testing under windows 64 bit, Python 3.5.2, positive powers of
integers give integers and negative powers of integers give floats. So,
do you want to raise an exception when taking a negative power of an
element of an array of integers? Because not doing so would be
inconsistent with rais
Sorry, I was not clear enough. I meant that the second option (always
float) would be more coherent with Python3.
On Oct 8, 2016 9:36 PM, "Charles R Harris"
wrote:
On Sat, Oct 8, 2016 at 1:31 PM, Krisztián Horváth
wrote:
> Hello,
>
> I think it should be consistent with Python3. So, it shoul
On Sat, Oct 8, 2016 at 1:31 PM, Krisztián Horváth
wrote:
> Hello,
>
> I think it should be consistent with Python3. So, it should give back a
> float.
>
> Best regards,
> Krisztian
>
>
Can't do that and also return integers for positive powers. It isn't
possible to have behavior completely compat
Hello,
I think it should be consistent with Python3. So, it should give back a
float.
Best regards,
Krisztian
On Sat, Oct 8, 2016 at 3:12 AM, Charles R Harris
wrote:
> Hi All,
>
> The time for NumPy 1.12.0 approaches and I like to have a final decision
> on the treatment of integers to negativ
On Sat, Oct 8, 2016 at 9:12 AM, Nathaniel Smith wrote:
> On Sat, Oct 8, 2016 at 6:59 AM, Charles R Harris
> wrote:
> >
> >
> > On Sat, Oct 8, 2016 at 4:40 AM, Nathaniel Smith wrote:
> >>
> >> On Fri, Oct 7, 2016 at 6:12 PM, Charles R Harris
> >> wrote:
> >> > Hi All,
> >> >
> >> > The time for
On Sat, Oct 8, 2016 at 6:59 AM, Charles R Harris
wrote:
>
>
> On Sat, Oct 8, 2016 at 4:40 AM, Nathaniel Smith wrote:
>>
>> On Fri, Oct 7, 2016 at 6:12 PM, Charles R Harris
>> wrote:
>> > Hi All,
>> >
>> > The time for NumPy 1.12.0 approaches and I like to have a final decision
>> > on
>> > the t
On Sat, Oct 8, 2016 at 4:40 AM, Nathaniel Smith wrote:
> On Fri, Oct 7, 2016 at 6:12 PM, Charles R Harris
> wrote:
> > Hi All,
> >
> > The time for NumPy 1.12.0 approaches and I like to have a final decision
> on
> > the treatment of integers to negative integer powers with the `**`
> operator.
On Fri, Oct 7, 2016 at 6:12 PM, Charles R Harris
wrote:
> Hi All,
>
> The time for NumPy 1.12.0 approaches and I like to have a final decision on
> the treatment of integers to negative integer powers with the `**` operator.
> The two alternatives looked to be
>
> Raise an error for arrays and num
14 matches
Mail list logo