# Import the numpy module and the Counter class from the collections module
import numpy as np
from collections import Counter
# Create a numpy array with some integer values
arr = np.array([1, 2, 2, 3, 3, 3, 4, 4, 4, 4])
# Use the Counter class to count the frequency of each value in the array
counter = Counter(arr)
# Get the most common value and assign it to the variable "most_frequent_value"
most_frequent_value = counter.most_common(1)[0][0]
# Print out the most frequent value
print(most_frequent_value)