Рет қаралды 776,646
Check out stratascratch.com/?via=keith to practice your Python Pandas data science skills!
This video overviews the NumPy library. It provides background information on how NumPy works and how it compares to Python's Built-in lists. This video goes through how to write code with NumPy. It starts with the basics of creating arrays and then gets into more advanced stuff. A full video timeline can be found in the comments.
Link to code used in video: github.com/KeithGalli/NumPy
Feel free to watch at 1.5x to learn more quickly!
If you enjoyed this video, please consider subscribing :).
Let me know your feedback and what I should make a video on next.
----------------------------
Videos of mine that use NumPy
- Creating Connect 4 Game: • How to Program Connect...
- Plotting (with some use of NumPy): • Intro to Data Visualiz...
- Generating Mock Data: • Generating Mock Data w...
----------------------------
Links with more information!
NumPy vs Lists:
jakevdp.github.io/blog/2014/0...
Indexing:
docs.scipy.org/doc/numpy-1.13...
Array Creation Routines:
docs.scipy.org/doc/numpy/refe...
Math Routines Docs:
docs.scipy.org/doc/numpy/refe...
Linear Algebra Docs:
docs.scipy.org/doc/numpy/refe...
----------------------------
Video Timeline!
0:00 - Introduction
1:15 - What is NumPy
1:35 - NumPy vs Lists (speed, functionality)
9:17 - Applications of NumPy
11:08 - The Basics (creating arrays, shape, size, data type)
16:08 - Accessing/Changing Specific Elements, Rows, Columns, etc (slicing)
23:14 - Initializing Different Arrays (1s, 0s, full, random, etc...)
31:34 - Problem #1 (How do you initialize this array?)
33:42 - Be careful when copying variables!
35:45 - Basic Mathematics (arithmetic, trigonometry, etc.)
38:20 - Linear Algebra
42:19 - Statistics
43:57 - Reorganizing Arrays (reshape, vstack, hstack)
47:29 - Load data in from a file
50:20 - Advanced Indexing and Boolean Masking
55:59 - Problem #2 (How do you index these values?)
---------------------
If you are curious to learn how I make my tutorials, check out this video: • How to Make a High Qua...
Join the Python Army to get access to perks!
KZbin - / @keithgalli
Patreon - / keithgalli
*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.