def getArrayMean (data_array):
mean_list = []
for i in range(data_array.shape [1]):
row_mean = np.mean(data_array[:,i:i+1])
mean_list.append(row_mean)
return mean_list
def drawScatter (setosa, versicolour,para_list):
plt.scatter(setosa, versicolour,edgecolors="white")
plt.scatter(float(para_list[0]),float(para_list[1]),c="r",marker="X")
plt.xlabel("Setosa")
plt.ylabel("Versicolour")
plt.title("Setosa & Versicolour Of Iris")
plt.show()
drawScatter(data_array[:,0:1],data_array[:,1:2],getArrayMean().mean_list)
how does the latter function use the mean_list? in the last function?