Mercurial > hg > numerics
view numerics/sum.py @ 160:3bcd097c27f2
more convenience reduce functions, muahahaha
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Wed, 13 May 2015 16:13:06 -0700 |
parents | dee0a650bd5a |
children |
line wrap: on
line source
#!/usr/bin/env python """ sum columns in CSV """ import sys from .reduce import ReduceParser def main(args=sys.argv[1:]): """CLI""" ReduceParser(sum, description=__doc__)(*args) if __name__ == '__main__': main()