NumPy Array Math Practice - Learn NumPy Series

preview_player
Показать описание
This video is a piece of a full learn NumPy Series, Start here:

In this one we look at a few more methods and get some practice setting the axis keyword argument.

Join The Socials -- Picking Shoutouts Across YouTube, Insta, FB, and Twitter!

Thanks so much for the continued support! We're well past 5,000 subscribers now. That rocks. Thanks so much for supporting me!

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

print(array_a)
print(array_b)

# power
print( array_a + array_b + array_c)

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:

Check out my website:

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!
Рекомендации по теме
Комментарии
Автор

#challenge - product of all 3 arrays and use ptp method on the new array

new_array = np.prod([[array_a], [array_b], [array_c]], axis=0)
print(np.ptp(new_array))

MD_SLO