Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def add_stats(specs, column, stat):
specs['%s_%s' % (column, stat)] = {
'$%s' % MGrouper.STATS_MAP.get(stat, stat): '$%s' % column}