On 2007-02-28, Robert Kern <[EMAIL PROTECTED]> wrote:
> No, that's a numpy array.
Robert,
That's where I went off. I forgot that I'm still dealing with a 1D NumPy
array and not a list. No wonder I had such fits!
> Those aren't tuples, but complex numbers.
I have not seen the 'j' suffix bef
[EMAIL PROTECTED] writes:
> [ 6.24249034e-01+0.j 5.11335982e-01+0.j 3.67333773e-01+0.j
>3.01189122e-01+0.j 2.43449050e-01+0.j 1.82948476e-01+0.j
>1.43655139e-01+0.j 9.91225725e-02+0.j]
>
> and I want a list of floats of only the first 6 digits for each value. If I
> write:
>
[EMAIL PROTECTED] writes:
> While it should be easy for me to get what I need from a list, it's
> proving to be more difficult than I expected.
>
> I start with this list:
>
> [ 6.24249034e-01+0.j 5.11335982e-01+0.j 3.67333773e-01+0.j
>3.01189122e-01+0.j 2.43449050e-01+0.j 1.82948
[EMAIL PROTECTED] wrote:
> While it should be easy for me to get what I need from a list, it's
> proving to be more difficult than I expected.
>
> I start with this list:
>
> [ 6.24249034e-01+0.j 5.11335982e-01+0.j 3.67333773e-01+0.j
>3.01189122e-01+0.j 2.43449050e-01+0.j 1.82948