filmov
tv
Learn Python NumPy - #2 Indexing

Показать описание
Learn Python NumPy Tutorial series video #2. In this one we'll cover:
- Indexing 1D NumPy Arrays
- Indexing 2D NumPy Arrays
- Slicing multiple variables out from an array
#Python #NumPy #Tutorial
THANKS SO MUCH FOR ALL THE CONTINUED SUPPORT! (1450+ SUBSCRIBERS!) Thank you all. Your support is really appreciated.
Please let me know comments or suggestions for the videos. Your feedback, both positive and negative, makes the future videos better!
Until next time!
*****************************************************************
Code on GitHub:
Full code from this video:
import numpy as np
ListA = [0,1,2,3,4,5,6,7,8,9,10]
ListB = [11,12,13,14,15,16,17,18,19,20,21]
print(A)
# A[start:stop:step]
print(A[::1])
ListC = [ListA,ListB]
print(AB.shape)
print(AB[1,2:4:1])
*****************************************************************
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!!
Useful Links
-----------------------------------------------------------------------------------------------------------------
Python Download:
(Remember Python 3 is the future!)
I use Atom Text Editor for all my tutorials
Atom Text Editor:
Packages I often use in Python tutorials:
-Pandas
-Numpy
-xlrd
-TensorFlow
-Matplotlib
-Django Framework
-Beautiful Soup
(Install through Terminal $pip3 install ....)
Other Useful Services sometimes featured:
-Amazon Web Services (AWS)
-Microsoft Azure
-Google Cloud
-Juypter Notebooks
Always looking for suggestions on what video to make next -- leave me a comment with your project! Happy Coding!
- Indexing 1D NumPy Arrays
- Indexing 2D NumPy Arrays
- Slicing multiple variables out from an array
#Python #NumPy #Tutorial
THANKS SO MUCH FOR ALL THE CONTINUED SUPPORT! (1450+ SUBSCRIBERS!) Thank you all. Your support is really appreciated.
Please let me know comments or suggestions for the videos. Your feedback, both positive and negative, makes the future videos better!
Until next time!
*****************************************************************
Code on GitHub:
Full code from this video:
import numpy as np
ListA = [0,1,2,3,4,5,6,7,8,9,10]
ListB = [11,12,13,14,15,16,17,18,19,20,21]
print(A)
# A[start:stop:step]
print(A[::1])
ListC = [ListA,ListB]
print(AB.shape)
print(AB[1,2:4:1])
*****************************************************************
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!!
Useful Links
-----------------------------------------------------------------------------------------------------------------
Python Download:
(Remember Python 3 is the future!)
I use Atom Text Editor for all my tutorials
Atom Text Editor:
Packages I often use in Python tutorials:
-Pandas
-Numpy
-xlrd
-TensorFlow
-Matplotlib
-Django Framework
-Beautiful Soup
(Install through Terminal $pip3 install ....)
Other Useful Services sometimes featured:
-Amazon Web Services (AWS)
-Microsoft Azure
-Google Cloud
-Juypter Notebooks
Always looking for suggestions on what video to make next -- leave me a comment with your project! Happy Coding!
Комментарии