Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Python NumPy Tutorial for Beginners

via freeCodeCamp

Overview

Learn the basics of the NumPy library through this tutorial for beginners. The course covers creating arrays, indexing, mathematical operations, statistics, reshaping, and more. By the end of the course, students will be able to work with NumPy arrays efficiently, perform basic mathematics, handle linear algebra, and manipulate arrays effectively. The teaching method includes explanations, code demonstrations, and problem-solving tasks. This course is intended for beginners who want to enhance their Python skills and work with numerical data effectively using NumPy.

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

Reviews

Start your review of Python NumPy Tutorial for Beginners

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.