Linear Algebra, Math, Mathematics, Python, Jupyter Notebook.
6], [ 7, 8], [ 9, 10]]) Broadcasting Numpy can handle operations on arrays of different shapes. The smaller array will be extended to match the shape of the bigger one. The advantage is that this is done in C under the hood (like any vectorized operations in Numpy). The scalar was converted into an