numpy
is great for its fancy indexing, broadcasting, masking, flexible view on data in memory, many of its numerical methods and more. If you just want a container to hold data, then use an array.array
or why not even a simple list
?
I suggest taking a look at the numpy tutorial.