Hi, I am trying to run the following code to add to an existing array. When i run the commands in a terminal, it works. However, when I try compiling an .np file, the function fails. Here is an example of what I am trying to do
import numpy as np packet_time=np.zeros((1000),dtype=np.int) for x in packet_time: if packet_time[x] != 6: np.insert(packet_time,packet_time[x],666 Thanks for any help -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+unsubscr...@googlegroups.com. To post to this group, send email to spyderlib@googlegroups.com. Visit this group at https://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.