diff --git a/tools/stats/grouping.xml b/tools/stats/grouping.xml index 723a2819c69..155849a7216 100644 --- a/tools/stats/grouping.xml +++ b/tools/stats/grouping.xml @@ -1,4 +1,4 @@ - + data by a column and perform aggregate operation on other columns. grouping.py diff --git a/tools/stats/gsummary.py b/tools/stats/gsummary.py index 3d7f1e8ca79..ffe1ca6446b 100755 --- a/tools/stats/gsummary.py +++ b/tools/stats/gsummary.py @@ -100,7 +100,7 @@ def main(): stop_err( "Computation resulted in the following error: %s" % str( s ) ) summary = summary.as_py( BASIC_CONVERSION ) outfile.write( "#%s\n" % headings_str ) - outfile.write( "%s\n" % "\t".join( [ "%.3f" % ( summary[ k ] ) for k in headings ] ) ) + outfile.write( "%s\n" % "\t".join( [ "%g" % ( summary[ k ] ) for k in headings ] ) ) outfile.close() if skipped_lines: diff --git a/tools/stats/gsummary.xml b/tools/stats/gsummary.xml index 2ab33d39266..e30e79cf395 100644 --- a/tools/stats/gsummary.xml +++ b/tools/stats/gsummary.xml @@ -1,4 +1,4 @@ - + for any numerical column gsummary.py $input $out_file1 "$cond"