human
different dtypes in array.
assistant
Here is a Python function to different types of arrays

import numpy as np

def is_numeric(arr):
    """Check if the given array is numeric.

    Parameters:
    ----------
    arr: np.ndarray

    """
    return np.issubdtype(arr.dtype, np.number)

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

# Calling the function
print((is_numeric(a)))

#Example Output
# True

#Remember to inspect code for bugs.