I\'m trying to add items to an array in python.
I run
array = {}
Then, I try to add something to this array by doing:
You can also do:
array = numpy.append(array, value)
Note that the numpy.append() method returns a new object, so if you want to modify your initial array, you have to write: array = ...
numpy.append()
array = ...