numpy.append()

numpy.append

numpy.append(arr, values, axis=None) [source]

Append values to the end of an array.

Parameters:

arr : array_like

Values are appended to a copy of this array.

values : array_like

These values are appended to a copy of arr. It must be of the correct shape (the same shape as arr, excluding axis). If axis is not specified, values can be any shape and wi