numpy mean 2 arrays

mean_array = np.mean(np.array([array_1, array_2]), axis=0)

Here is what the above code is Doing:
1. We create a new array, called mean_array, that is the mean of array_1 and array_2.
2. We use the np.mean() function to calculate the mean.
3. We set the axis argument to 0 to calculate the mean of the columns.