human
the kth largest in a array.
assistant
Here is a Python function to the largest in an array

import numpy as np

def kth_largest(array, k):
    """
    Returns the kth largest element in the array.

    Args:
        array (array): Array of numbers.
        k (int): kth largest element.

    Returns:
        kth largest element in the array.
    """
    return np.partition(array, k)[k]

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

# Calling the function
print((kth_largest(array, 3)))

#Remember to inspect code for bugs.