want to store the array values here
new_arr=[]
for loop
for x in np.arange(row):
for loop
for y in np.arange(col):
the array
new_arr.append(img_array[x,y])
I want th 2D array to be printed but nothing is getting displayed. there’s no error also, but there’s not any output.
Can anyone help how to display the array when i know the rows, col and size of the array. Also i need to compare the values of this array. Please help with the codeyour text
manjimaresearch is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.