- craftutils.wrap.dragons.Table.itercols()
Iterate over the columns of this table.
Examples¶
To iterate over the columns of a table:
>>> t = Table([[1], [2]]) >>> for col in t.itercols(): ... print(col) col0 ---- 1 col1 ---- 2Using
itercols()is similar tofor col in t.columns.values()but is syntactically preferred.