{ } Raw JSON

bundles / numpy 2.4.4 / numpy / _core / shape_base / _block

function

numpy._core.shape_base:_block

source: /numpy/_core/shape_base.py:748

Signature

def _block(arrays, max_depth, result_ndim, depth = 0)

Summary

Internal implementation of block based on repeated concatenation. arrays is the argument passed to block. max_depth is the depth of nested lists within arrays and result_ndim is the greatest of the dimensions of the arrays in arrays and the depth of the lists in arrays (see block docstring for details).

Aliases

  • numpy._core.shape_base._block