NumPy Broadcasting Tutorial - Learn NumPy Series

Опубликовано: 28 Август 2019
на канале: Derrick Sherrill
3,564
95

This video is a part of a full NumPy Series, start here:
   • Introduction to NumPy Arrays for Begi...  

In this video we'll briefly talk about NumPy broadcasting techniques and what it does.

Join The Socials -- Picking Shoutouts Across YouTube, Insta, FB, and Twitter!
FB -   / codewithderrick  
Insta -   / codewithderrick  
Twitter -   / codewithderrick  
LinkedIn -   / derricksherrill  
GitHub - https://github.com/Derrick-Sherrill

Thanks so much for all the support! 5100+ subscribers at the time of writing. Waking up everyday to see new people enjoying the content enough to subscribe is awesome. You all keep me going. Thank you for all your continued support!

*****************************************************************
Full code from the video:
import numpy as np

array_a = np.array([[1,2,3],[4,5,6],[7,8,9]])

array_b = np.array([3,2,1])

print(array_a + array_b)

https://github.com/Derrick-Sherrill/N...


Packages (& Versions) used in this video:

Python 3.7
NumPy 1.17

*****************************************************************
Code from this tutorial and all my others can be found on my GitHub:
https://github.com/Derrick-Sherrill/D...

Check out my website:
https://www.derricksherrill.com/

If you liked the video - please hit the like button. It means more than you know. Thanks for watching and thank you for all your support!!

Always looking for suggestions on what video to make next -- leave me a comment with your project! Happy Coding!