[SciPy-user] What's the equivalent of list.pop in numpy?

Alan G Isaac aisaac at american.edu
Tue Mar 25 09:32:03 EDT 2008


A NumPy ndarray will not have a ``pop`` method largely 
because it is of a fixed size.

It seems that you do not really want an ndarray.
Maybe a Python array would do.

Or maybe you are trying to do something that does
not really require a ``pop`` ...

Cheers,
Alan Isaac





More information about the SciPy-User mailing list