title: Cannot append numpy values into the list inside a loop
body: <p>For the list p I cannot append numpy values. Error message and Code is given below.</p>
  
  <p><a href="https://i.stack.imgur.com/rynnV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rynnV.png" alt="enter image description here"></a></p>
  
  <p>I will be thankful for any help.</p>