zcollection.variable.array.Array.concat#

Array.concat(other, dim)[source]#

Concatenate this variable with another variable or a list of variables along a dimension.

Parameters:
  • other (Array | Sequence[Array]) – Variable or list of variables to concatenate with this variable.

  • dim (str) – Dimension to concatenate along.

Returns:

New variable.

Raises:

ValueError – if the variables provided is an empty sequence or if any item in the sequence is not an instance of Array.

Return type:

Array