NumPy · Concept
Broadcasting
Broadcasting lets NumPy apply element-by-element operations to arrays with compatible but different shapes. It usually avoids copying the smaller input, but can create large outputs or intermediate arrays.
Last updated
In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
numpy.broadcastnumpy.newaxis