<jupyter_start><jupyter_text>---title: "Universal Array Functions"author: "<NAME>"date: 2019-06-12description: "-"type: technical_notedraft: false---<jupyter_code>import numpy as np
arr = np.arange(11)
arr<jupyter_output><empty_output><jupyter_text>squer root<jupyter_code>np.sqrt(arr)<jupyter_output><empty_output><jupyter_text>expt<jupyter_code>np.exp(arr)<jupyter_output><empty_output><jupyter_text>Binary Function<jupyter_code>a = np.random.random(10)
a
b = np.random.random(10)
b
np.add(a, b)
np.maximum(a, b)
np.minimum(a, b)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1586452762923351, 'fraction_numerical': 0.024955436720142603, 'mean_word_length': 10.24, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, '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}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '392578', 'license': 'MIT', 'n_tokens_mistral': 251, 'n_tokens_neox': 234, 'n_words': 28, 'path': 'docs/python/NumPy/Universal-Array-Functions.ipynb', 'repo_name': 'mmblack4/mynotes', 'size': '564'}