<commit_before>from __future__ import division, absolute_import, print_function

from numpy import pad as numpy_pad


def pad(array, pad_width, mode, **kwargs):
    return numpy_pad(array, pad_width, mode, **kwargs)

# Pull function info / docs from NumPy
pad.__doc__ = numpy_pad.__doc__<commit_msg>Change import structure for doctests<commit_after>from __future__ import division, absolute_import, print_function

import numpy as np


def pad(array, pad_width, mode, **kwargs):
    return np.pad(array, pad_width, mode, **kwargs)

# Pull function info / docs from NumPy
pad.__doc__ = np.pad.__doc__
{'fraction_non_alphanumeric': 0.08681135225375626, 'fraction_numerical': 0.0, 'mean_word_length': 5.593406593406593, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4087279', 'n_tokens_mistral': 185, 'n_tokens_neox': 179, 'n_words': 61}