This is a pre-release version (latest). Go to latest (2.4.4)
{ } Raw JSON

bundles / numpy latest / numpy / _core / shape_base / _block

function

numpy._core.shape_base:_block

source: build-install/usr/lib/python3.14/site-packages/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