pylabrobot.utils.list.reshape_2d#

pylabrobot.utils.list.reshape_2d(list_: List[pylabrobot.utils.list.T], shape: Tuple[int, int]) List[List[pylabrobot.utils.list.T]]#

Reshape a list into a 2d list.

Parameters
  • list – The list to reshape.

  • shape (Tuple[int, int]) – The new shape.

  • list_ (List[pylabrobot.utils.list.T]) –

Returns

The reshaped list.

Return type

List[List[pylabrobot.utils.list.T]]