else:
_statistics_container = _numpy.array
-def _statistic(iterabale, statistic):
+def _statistic(iterable, statistic):
"""Calculate statistics on an list of numbers
"""
global _numpy_import_error
return gs.mean()
elif statistic == 'Std. Dev.':
if _numpy is None: # work around missing numpy
- sval = _std(iterable)
+ return _std(iterable)
else:
return gs.std()
else: