In this video we'll cover NumPy Math operations that we can do on Arrays.
The full list of universal functions that I mentioned in this video can be found here:
https://docs.scipy.org/doc/numpy/refe...
In this video we'll cover:
-NumPy Array Functions
How to add numpy Arrays
How to subtract, divide, multiply numpy arrays,
Take square roots of NumPy arrays
Linear operations on NumPy arrays
-Talk about vectorization and the alternative python for loops
#Python #NumPy #Tutorial
THANKS SO MUCH FOR ALL THE SUPPORT! (1630+ SUBSCRIBERS) You guys are incredible. Your support means more than you know. Thank you.
If you have comments or suggestions about this video or other videos, please let me know - Your comments make the future ones better. Thank you for your feedback, both positive and negative!
Happy Coding - Until Next Time!
*****************************************************************
GitHub link for code from this video:
https://github.com/Derrick-Sherrill/D...
Code from this video:
import numpy as np
ListA = [1,2,3,4]
ListB = [-1,2,4,6]
A = np.array(ListA, dtype=np.int32)
B = np.array(ListB, dtype=np.int32)
print(A)
ListA2 = []
for element in ListA:
element = element +1
ListA2.append(element)
print(ListA2)
print(A+1)
print(np.add(A,B))
print(A+B)
print(A-B)
print(A*B)
print(A/B)
print(np.sqrt(A))
Endscreen Image from this video:
https://pixabay.com/it/photos/animali...
(Thanks to Pexels from Pixabay)
*****************************************************************
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!!
Useful Links
-----------------------------------------------------------------------------------------------------------------
Python Download:
https://www.python.org/downloads/
(Remember Python 3 is the future!)
I use Atom Text Editor for all my tutorials
Atom Text Editor:
https://atom.io/
Packages I often use in Python tutorials:
-Pandas
https://pandas.pydata.org/pandas-docs...
-Numpy
https://www.numpy.org/
-xlrd
https://xlrd.readthedocs.io/en/latest/
-TensorFlow
https://www.tensorflow.org/api_docs/p...
-Matplotlib
https://matplotlib.org/
-Django Framework
https://www.djangoproject.com/
-Beautiful Soup
https://www.crummy.com/software/Beaut...
(Install through Terminal $pip3 install ....)
Other Useful Services sometimes featured:
-Amazon Web Services (AWS)
https://aws.amazon.com/
-Microsoft Azure
https://azure.microsoft.com/en-us/
-Google Cloud
https://cloud.google.com/
-Juypter Notebooks
https://jupyter.org/
Always looking for suggestions on what video to make next -- leave me a comment with your project! Happy Coding!
In questa pagina del sito puoi guardare il video online Learn Python NumPy #3 - Array Math Operations della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Derrick Sherrill 15 maggio 2019, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 3,281 volte e gli è piaciuto 73 spettatori. Buona visione!