Re: Extract a single column

Thadeus Burgess <[email protected]> Wed, 7 Sep 2011 11:12:02 -0500
Newsgroups gmane.comp.db.metakit
Message-ID <CAKTf30bjxd2qeGYPOfHTDM_a2jeFsq+fQ47T=JG=UNLhmq2Buw@mail.gmail.com>
--0015174489dcbff45b04ac5c3610
Content-Type: text/plain; charset=ISO-8859-1

newvw = vw.project(vw.column_name)

for row in newvw:
  print row.column_name

--
Thadeus




On Wed, Mar 30, 2011 at 10:21 AM, Thadeus Burgess <[email protected]
> wrote:

> Is it possible to quickly extract a list of a single column without having
> to do list comprehension?
>
> --
> Thadeus
>
>
>

-- 
You received this message because you are subscribed to the "metakit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/metakit?hl=en
--0015174489dcbff45b04ac5c3610
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

newvw =3D vw.project(vw.column_name)<br><br>for row in newvw:<br>=A0 print =
row.column_name<br><br clear=3D"all">--<br>Thadeus<br><br><br>
<br><br><div class=3D"gmail_quote">On Wed, Mar 30, 2011 at 10:21 AM, Thadeu=
s Burgess <span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]=
">[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"g=
mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-l=
eft:1ex;">

Is it possible to quickly extract a list of a single column without having =
to do list comprehension?<br><br clear=3D"all">--<br><font color=3D"#888888=
">Thadeus<br><br><br>
</font></blockquote></div><br>

<p></p>

-- <br />
You received this message because you are subscribed to the &quot;metakit&q=
uot; group.<br />
To post to this group, send email to [email protected]<br />
To unsubscribe from this group, send email to metakit-unsubscribe@googlegro=
ups.com<br />
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/metakit?hl=3Den">http://groups.google.com/group/metakit?hl=3Den</a>
--0015174489dcbff45b04ac5c3610--