## Learn Python NumPy – #1 Arrays & Data Types

In this video we’ll cover the basics of NumPy – How to create an array, what is a numpy array, How is a NumPy array different from a Python List, Why an array performs faster than a Python List.

Footnote video #1
Python Lists for Beginners

Footnote Video #2
Python Data Types & Variables

#Python #NumPy #LearnNumPyArrays

Let me know your opinion on the footnote videos? Are they distracting or do you find they add value?

If you have and questions or comments please let me know! Until next time.

Thanks so much for the continued support! You guys are awesome. 1200+ Subscribers!! Your support means more than you know – Thank you!!

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

A = [1,2,3,4,5]
B = [1.5,2.5,3.5]
C = [1, 1.5, 2, 2.5, 3]
print(type(C))

ArrayA = np.array(A, dtype=np.int32)
ArrayB = np.array(B, dtype=np.float32)
ArrayC = np.array(C)
# bool, int, float, complex
print(A)
print(ArrayA)
print(ArrayB)
print(ArrayC)

D = [[1,2],[3,4],[5,6],[7,8]]
ArrayD = np.array(D, dtype=np.int32)
print(ArrayD)
print(ArrayD.shape)

https://github.com/Derrick-Sherrill/DerrickSherrill.com/blob/master/numpy_arrays.py
*****************************************************************
Code from this tutorial and all my others can be found on my GitHub:
https://github.com/Derrick-Sherrill/DerrickSherrill.com

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!!

—————————————————————————————————————–
(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/stable/
-Numpy
https://www.numpy.org/
-xlrd
-TensorFlow
https://www.tensorflow.org/api_docs/python
-Matplotlib
https://matplotlib.org/
-Django Framework
https://www.djangoproject.com/
-Beautiful Soup
https://www.crummy.com/software/BeautifulSoup/
(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/
-Juypter Notebooks
https://jupyter.org/

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

Source

### Comment List

• Derrick Sherrill
December 8, 2020

• Derrick Sherrill
December 8, 2020

wow so smooth and very usful thanks a lot, I do not know if you can make some videos about (def function ) your explination is amazing

• Derrick Sherrill
December 8, 2020

Could you make a video on how you have your Atom set up?

• Derrick Sherrill
December 8, 2020

Definitely want to watch a full video about NumPy and how NumPy enhances Pythons computation. Thank you Derrick. It is very knowledgeable for us.