On Sat, May 15, 2010 at 11:03 PM, Gabriel Mihalache wrote:
> Hello, all! I'm new to Numpy and Python so please tolerate by
> ignorance on this but I'm having problems with some weird behavior.
> Consider the session:
>
> >>> import numpy as np
> >>> import numpy.linalg as la
> >>> x = np.array([[0
Hello, all! I'm new to Numpy and Python so please tolerate by
ignorance on this but I'm having problems with some weird behavior.
Consider the session:
>>> import numpy as np
>>> import numpy.linalg as la
>>> x = np.array([[0.3, 0.2, 0.5], [0.2, 0.1, 0.7], [0.9, 0.05,
>>> 0.05]]).transpose()
>>>
On Wed, 2010-05-12 at 23:06 -0400, Chris Colbert wrote:
> I had this problem back in 2009 when building Enthought Enable, and
> was happy with a work around. It just bit me again, and I finally got
> around to drilling down to the problem.
>
>
> On linux, if one uses the numpy/site.cfg [default]
On Sat, May 15, 2010 at 08:37, wrote:
> So, I guess, numpy needs the distinction between list and tuples to
> know what is an element.
> That's from hitting at this very often, I never looked at the numpy
> internals for this.
This is correct. There is only so much mind-reading that numpy.array(
>
> the tuple (row) is one element of the structured array. It's possible
> to have an n-dimensional structured array where each element is a
> tuple.
Also just was looking at this and while you can't do this
anarray = np.array([1,2,3], dtype = [('num', int)])
you can
anarray = np.array([(1,),(2,
On Sat, May 15, 2010 at 9:27 AM, Jimmie Houchin wrote:
> On 5/15/2010 6:30 AM, josef.p...@gmail.com wrote:
>> On Sat, May 15, 2010 at 12:24 AM, Jimmie Houchin wrote:
>>> def getArray(instrument, weekString=None):
>>> ...
>>> cur.execute(sql)
>>> weekData = cur.fetchall()
>>> w
On 5/15/2010 6:30 AM, josef.p...@gmail.com wrote:
> On Sat, May 15, 2010 at 12:24 AM, Jimmie Houchin wrote:
>> def getArray(instrument, weekString=None):
>> ...
>> cur.execute(sql)
>> weekData = cur.fetchall()
>> wdata = []
>> lst = []
>> dtminute, dttypes = createDTy
On Sat, May 15, 2010 at 12:24 AM, Jimmie Houchin wrote:
> Hello, I am really liking Numpy a lot. It is wonderful to be able to do
> the things that it does in a language as friendly as Python, and with
> the performance Numpy delivers over standard Python. Thanks.
>
> I am having a problem with cr
efiring wrote:
>
> On 05/14/2010 11:03 AM, Dr. Phillip M. Feldman wrote:
>>
> It is perfectly reasonable to have an algorithm that uses values
> sorted along
> the last axis, even if that dimension sometimes turns out to be one.
>
> Eric
>
Excellent point! I agree. Case closed.
Phillip
-