This video is apart of a full NumPy Course - Start here:
[ Ссылка ]-
In this one we'll get some more practice reshaping and indexing arrays.
#Python #NumPy #Tutorial
Join The Socials -- Picking Shoutouts Across YouTube, Insta, FB, and Twitter!
FB - [ Ссылка ]
Insta - [ Ссылка ]
Twitter - [ Ссылка ]
LinkedIn - [ Ссылка ]
GitHub - [ Ссылка ]
Thanks so much for the continued support! Almost to 5k subscribers! How awesome. Thank you all.
*****************************************************************
Full code from the video:
import numpy as np
array_a = np.array([[1,2,3,4],[5,6,7,8],[9,10,11,12],[13,14,15,16]])
array_b = array_a.reshape(2,8)
print(array_b)
array_c = array_a.T
print(array_c.T)
print(array_c[0], array_c[1])
print(array_a[-1,-1])
[ Ссылка ]
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!
Ещё видео!