Python NumPy Tutorial for Beginners
Offered By: freeCodeCamp
Course Description
Overview
Dive into a comprehensive tutorial on the NumPy library for Python beginners. Explore the fundamentals of NumPy, including its advantages over Python's built-in lists in terms of speed and functionality. Learn to create arrays, understand their properties like shape and size, and work with different data types. Master techniques for accessing and modifying specific elements, rows, and columns through slicing. Discover various methods for initializing arrays, including ones, zeros, and random values. Tackle practical problems to reinforce your understanding of array initialization and variable copying. Delve into basic mathematical operations, linear algebra, and statistical functions within NumPy. Practice reorganizing arrays using reshape, vstack, and hstack methods. Learn how to load data from files and implement advanced indexing techniques with boolean masking. Access additional resources and documentation to further expand your NumPy knowledge and skills.
Syllabus
What is NumPy.
NumPy vs Lists (speed, functionality).
Applications of NumPy.
The Basics (creating arrays, shape, size, data type).
Accessing/Changing Specific Elements, Rows, Columns, etc (slicing).
Initializing Different Arrays (1s, 0s, full, random, etc...).
Problem #1 (How do you initialize this array?).
Be careful when copying variables!.
Basic Mathematics (arithmetic, trigonometry, etc.).
Linear Algebra.
Statistics.
Reorganizing Arrays (reshape, vstack, hstack).
Load data in from a file.
Advanced Indexing and Boolean Masking.
Problem #2 (How do you index these values?).
Taught by
freeCodeCamp.org
Related Courses
Accounting for Death in War: Separating Fact from FictionRoyal Holloway, University of London via FutureLearn Advanced Machine Learning
The Open University via FutureLearn Advanced Statistics for Data Science
Johns Hopkins University via Coursera 農企業管理學 (Agribusiness Management)
National Taiwan University via Coursera AI & Machine Learning
Arizona State University via Coursera