IArray.append(data, axis=0)#

Append data at the end by extending the axis.

  • data (object supporting the PyBuffer protocol) – The object containing the data.

  • axis (int, optional) – Axis along which to append. Default is 0.


The number of elements of data must be a multiple of the array shape in all its axis excluding the axis.

For example, let’s suppose that we have an array of shape = [20, 20], and chunks = [7, 7]. Then number of elements of data can be anything * 20 and the new shape would be [20 + anything, 20].

See also

insert, delete, resize