Mercurial > hg > numerics
changeset 34:dea01adf33dc
wip
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 04 Nov 2014 16:52:40 -0800 |
parents | f35b646eefa9 |
children | f1168ca2aa4c |
files | numerics/convert.py |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/numerics/convert.py Tue Nov 04 16:49:27 2014 -0800 +++ b/numerics/convert.py Tue Nov 04 16:52:40 2014 -0800 @@ -27,10 +27,15 @@ return cast([float], *values) +def column_type(values, types=default_cast): + """determine the type of a column""" + raise NotImplementedError('TODO') # -> record TODO items + def cast_column(values, to=default_cast): """ cast a column of data """ + raise NotImplementedError('TODO') # -> record TODO items def main(args=sys.argv[1:]): """CLI"""