Skip to content

Commit

Permalink
added number of values to tuple outputted by statsreducer
Browse files Browse the repository at this point in the history
  • Loading branch information
klbostee committed Feb 24, 2009
1 parent 60997a7 commit db83e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/dumbo.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def statsreducer(key, values):
maximum = max(columns.next())
mean = float(s1) / s0
std = sqrt(s0 * s2 - s1**2) / s0
yield (key, (mean, std, minimum, maximum))
yield (key, (s0, mean, std, minimum, maximum))


def statscombiner(key, values):
Expand Down

0 comments on commit db83e64

Please sign in to comment.