Mercurial > hg > numerics
changeset 22:61ef3985ec5b
stub columns; do we need it
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 03 Oct 2014 17:48:39 -0700 |
parents | fef3f407113f |
children | 87615a38190c |
files | numerics/data.py |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/numerics/data.py Fri Oct 03 17:29:42 2014 -0700 +++ b/numerics/data.py Fri Oct 03 17:48:39 2014 -0700 @@ -47,3 +47,12 @@ def __getitem__(self, item): return self.rows[item] + + +class Columns(object): + """ + column-oriented data + """ + + def __init__(self, *columns): + self.columns = OrderedDict() # this should be ordered