# Calculate average values of two given NumPy arrays in Python 
 # import library
import numpy as np
  
#  create a numpy 1d-arrays
arr1 = np.array([3, 4])
arr2 = np.array([1, 0])
  
# find average of NumPy arrays
avg = (arr1 + arr2) / 2
  
print("Average of NumPy arrays:\n",
      avg)