<commit_before><commit_msg>Update index_power.py<commit_after>def index_power(array, n):
    """
        Find Nth power of the element with index N.
    """
    if n > len(array)-1:
        x = -1
    else:
        x = array[n]**n
    return x
{'fraction_non_alphanumeric': 0.12757201646090535, 'fraction_numerical': 0.00823045267489712, 'mean_word_length': 2.210526315789474, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4769298', 'n_tokens_mistral': 84, 'n_tokens_neox': 83, 'n_words': 23}