On 10/03/10 10:09, Bruce Schultz wrote:
> On Sat, Mar 6, 2010 at 8:35 AM, Gökhan Sever wrote:
>
>> On Fri, Mar 5, 2010 at 8:00 AM, Bruce Schultz
>> wrote:
>>
>>> Output is:
>>> ### ndarray
>>> [[ 1. 2. ]
>>>
On Sat, Mar 6, 2010 at 8:35 AM, Gökhan Sever wrote:
>
>
> On Fri, Mar 5, 2010 at 8:00 AM, Bruce Schultz
> wrote:
>>
>> Output is:
>> ### ndarray
>> [[ 1. 2. ]
>> [ 3. 4.1]]
>> ### structured array
>> [(1.0, 2.0) (3.0, 4.0
Hi,
I've just started playing with numpy and have noticed that when printing
a structured array that the output is not nicely formatted. Is there a
way to make the formatting look the same as it does for an unstructured
array?
Here an example of what I mean:
data = [ (1, 2), (3, 4.1) ]
dtype = [