Wow, I didn't expect so many answers and possibilities! I'll try to go
through it and surely find the best solution for me :jumping:
Thank you all!
--
View this message in context:
http://www.nabble.com/Select-column-from-a-list-tp25185508p25240207.html
Sent from the Python - python-list mailin
In article ,
Anthra Norell wrote:
>Vlastimil Brom wrote:
>> 2009/8/28 hoffik :
>>>
>>> I'm quite new in Python and I have one question. I have a 2D matrix of
>>> values stored in list (3 columns, many rows). I wonder if I can select one
>>> column without having to go through the list with 'for'
On 8/28/2009 3:45 AM hoffik wrote:
> I'm quite new in Python and I have one question. I have a 2D matrix of
> values stored in list (3 columns, many rows). I wonder if I can select one
> column without having to go through the list with 'for' command.
Not quite what you asked but ...
>>> rows = [
hoffik wrote:
>
> Hello,
>
> I'm quite new in Python and I have one question. I have a 2D matrix of
> values stored in list (3 columns, many rows). I wonder if I can select one
> column without having to go through the list with 'for' command.
>
> For example I have list called 'values'.
> When
hoffik wrote:
Hello,
I'm quite new in Python and I have one question. I have a 2D matrix of
values stored in list (3 columns, many rows). I wonder if I can select one
column without having to go through the list with 'for' command.
For example I have list called 'values'.
When I write 'values[0
> >> I'm quite new in Python and I have one question. I have a 2D matrix of
> >> values stored in list (3 columns, many rows). I wonder if I can select one
> >> column without having to go through the list with 'for' command.
In case you want to due numerical calculations take a look at numpy it
> hoffik (h) wrote:
>h> Hello,
>h> I'm quite new in Python and I have one question. I have a 2D matrix of
>h> values stored in list (3 columns, many rows). I wonder if I can select one
>h> column without having to go through the list with 'for' command.
>h> For example I have list called 'v
Vlastimil Brom wrote:
2009/8/28 hoffik :
Hello,
I'm quite new in Python and I have one question. I have a 2D matrix of
values stored in list (3 columns, many rows). I wonder if I can select one
column without having to go through the list with 'for' command.
...
I guess, it won't be p
2009/8/28 hoffik :
>
> Hello,
>
> I'm quite new in Python and I have one question. I have a 2D matrix of
> values stored in list (3 columns, many rows). I wonder if I can select one
> column without having to go through the list with 'for' command.
> ...
I guess, it won't be possible without an ex
hoffik a écrit :
Hello,
I'm quite new in Python and I have one question. I have a 2D matrix of
values stored in list (3 columns, many rows). I wonder if I can select one
column without having to go through the list with 'for' command.
Lists don't have columns. What you have is a list of lists
On Fri, Aug 28, 2009 at 5:45 PM, hoffik wrote:
> Hello,
>
> I'm quite new in Python and I have one question. I have a 2D matrix of
> values stored in list (3 columns, many rows). I wonder if I can select one
> column without having to go through the list with 'for' command.
As far as I know tho
11 matches
Mail list logo