<commit_before>"""
This module provides common statistical functions.

 .. moduleauthor:: <NAME> <<EMAIL>>

 :copyright: PenchY Developers 2011-2012, see AUTHORS
 :license: MIT License, see LICENSE
"""
from __future__ import division


def average(xs):<commit_msg>statistics: imported math<commit_after>"""
This module provides common statistical functions.

 .. moduleauthor:: <NAME> <<EMAIL>>

 :copyright: PenchY Developers 2011-2012, see AUTHORS
 :license: MIT License, see LICENSE
"""
from __future__ import division

import math


def average(xs):
{'fraction_non_alphanumeric': 0.11030741410488246, 'fraction_numerical': 0.028933092224231464, 'mean_word_length': 5.595238095238095, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3786396', 'n_tokens_mistral': 169, 'n_tokens_neox': 148, 'n_words': 57}