Mercurial > hg > numerics
changeset 59:3781174542bb
note to self
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 20 Jan 2015 16:50:42 -0800 |
parents | 537fba7c9def |
children | e3c3ee7b5ccf |
files | numerics/convert.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/numerics/convert.py Tue Jan 20 16:44:56 2015 -0800 +++ b/numerics/convert.py Tue Jan 20 16:50:42 2015 -0800 @@ -43,12 +43,14 @@ raise NotImplementedError('TODO') # -> record TODO items -def cast_columns(values, to=default_cast): +def cast_columns(columns, types=default_cast): """ cast a column of data """ + column_types = [column_type(column) for column in columns] raise NotImplementedError('TODO') # -> record TODO items + def main(args=sys.argv[1:]): """CLI"""