My array is from a image whick like below:
[[[ 66.17041352  32.64576397  20.96214396]                                                                                                                               
  [ 66.17041352  32.64576397  20.96214396]
  [ 65.96318838  32.36065031  16.13857633]
  ...,
  [ 69.04849876  28.06324166  26.57747623]
  [ 63.7269604   32.96378326  25.94336956]
  [ 53.96807994  39.33219382  23.9025511 ]]
 ...,
 [[ 18.55833403  34.4104455   -9.75497344]
  [ 18.55833403  34.4104455   -9.75497344]
  [ 21.45103128  32.77919479  -3.84284208]
  ...,
  [ 44.64859327  41.89617915  14.25196745]
  [ 43.40291913  43.25109885  17.43372679]
  [ 43.30009306  47.94315449  15.59464532]]
 [[ 18.64249436  31.63054472  -7.56023249]
  [ 18.64249436  31.63054472  -7.56023249]
  [ 23.23099091  32.284216    -3.86411699]
  ...,
  [ 44.98536772  45.0246078   17.92556564]
  [ 45.53417128  45.42120428  17.50264622]
  [ 46.7226915   45.42428651  19.21054283]]]
I want to change the array to zero like this:
[[[ 0.  0.  0.]
  [ 0.  0.  0.]
  [ 0.  0.  0.]
  ...,
  [ 0.  0.  0.]
  [ 0.  0.  0.]
  [ 0.  0.  0.]]
 ...,
 [[ 0.  0.  0.]
  [ 0.  0.  0.]
  [ 0.  0.  0.]
  ...,
 [[ 0.  0.  0.]
  [ 0.  0.  0.]
  [ 0.  0.  0.]
  ...,
  [ 0.  0.  0.]
  [ 0.  0.  0.]
  [ 0.  0.  0.]]]
I know how to make it happen, but I just wonder why my origin code doesn't work.The print shows that nothing changed.
for row in image_arr:
    for col in row:
        col = [0,0,0]
print image_arr
 
     
     
     
     
     
     
    