Python NumPy Tutorial for Beginners

By freeCodeCamp.org on youtube.com

More about this content:

Learn the basics of the NumPy library in this tutorial for beginners. 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. The video covers creating arrays, indexing, math, statistics, reshaping, and more. 💻 Code: https://github.com/KeithGalli/NumPy 🎥 Tutorial from Keith Galli. Check out his YouTube channel: https://www.youtube.com/channel/UCq6XkhO5SZ66N04IcPbqNcw ⭐️ Course Contents ⭐️ ⌨️ (01:15) What is NumPy ⌨️ (01:35) NumPy vs Lists (speed, functionality) ⌨️ (09: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?) ⭐️ Links with more info ⭐️ 🔗 NumPy vs Lists: https://www.youtube.com/channel/UC_mmB9WkzXQAQmwj6EPmXQw 🔗 Indexing: https://docs.scipy.org/doc/numpy-1.13.0/user/basics.indexing.html 🔗 Array Creation Routines: https://docs.scipy.org/doc/numpy/reference/routines.array-creation.html 🔗 Math Routines Docs: https://docs.scipy.org/doc/numpy/reference/routines.math.html 🔗 Linear Algebra Docs: https://docs.scipy.org/doc/numpy/reference/routines.linalg.html -- Learn to code for free and get a developer job: https://www.freecodecamp.org Read hundreds of articles on programming: https://www.freecodecamp.org/news