SyntaxFix
Write A Post
Hire A Developer
Questions
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 = ...