# HG changeset patch # User Jeff Hammel # Date 1426532576 25200 # Node ID 19f3d071bb7303779d5c83982231b3523f429d1a # Parent e259aa9ee18fa70d6d19bff048ebbc66e21eb74b output historgram diff -r e259aa9ee18f -r 19f3d071bb73 numerics/histogram.py --- a/numerics/histogram.py Sun Mar 15 21:02:57 2015 -0700 +++ b/numerics/histogram.py Mon Mar 16 12:02:56 2015 -0700 @@ -123,8 +123,12 @@ for histogram in histograms: columns.append(histogram().values()) + # transpose back to rows + rows = transpose(columns) + # output - writer = None # TODO + writer = CSVWriter(options.output) + writer.write(rows) if __name__ == '__main__': main()