zcollection.variable.abc.IVariable.concat#

abstract IVariable.concat(other, dim)[source]#

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

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

  • dim (str) – Dimension to concatenate along.

  • self (I) –

Returns:

New variable.

Raises:

ValueError – if the variables provided is an empty sequence.

Return type:

I