Human: Python function for finding the max value in an array. Assistant: 
Here is a Python function for finding the max value in an array

import numpy as np

def max_value(array):
    """
    Finds the max value in an array.
    """
    return max(array)

# Enter the array
array = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])

# Calling the function
print((max_value(array)))

#Example Output
# 10

#Remember to inspect code for bugs.