The term broadcasting refers to how numpy treats arrays with different Dimension during arithmetic operations which lead to certain constraints, the smaller array is broadcast across the larger array so that they have compatible shapes.
Broadcasting provides a means of vectorizing array operations so that looping occurs in C instead of Python as we know that Numpy implemented in C. It does this without making needless copies of data and which leads to efficient algorithm implementations. There are cases where broadcasting is a bad idea because it leads to inefficient use of memory that slow down the computation.
Link tree: https://linktr.ee/zorbaconsulting
Data Science Master class: https://www.zorbaconsulting.in/datasc...
Hello People! Welcome to Zorba Data Science Community!
📌We at Zorba Consulting aims to make Data Science accessible and affordable to every individual.
📌We offer a wide range of training in Data Science for both corporate and individuals.
📌Join our community and stay connected with us on all our social media handles and never miss any updates!🛎️
Instagram: / zorbaconsulting
Facebook: / zorbaconsulting
Telegram: https://t.me/joinchat/AAAAAEUHvLd6tNz...
YouTube: • We breathe Data! We are Zorba!! | Data Sci...