Introduction to NumPy
Master your skills in NumPy by learning how to create, sort, filter, and update arrays using NYC’s tree census.Start Course for Free
4 Hours13 Videos49 Exercises25,149 Learners
Create Your Free Account
Loved by learners at thousands of companies
Explore Python's Data Science package: NumPyGain an introduction to Numpy and understand why this Python library is essential to all Python data scientists and analysts. Most importantly, learn more about Numpy arrays and how to create and change array shapes to suit your needs.
Discover NumPy ArraysNumPy is an essential Python library for data scientists and analysts. It offers a great alternative to Python lists, as they are more compact and allow faster access to reading and writing items, making them a more convenient and efficient option.
In this Introduction to NumPy course, you'll become a master wrangler of NumPy's core object: arrays! Using New York City's tree census data, you'll create, sort, filter, and update arrays. You'll discover why NumPy is so efficient and use broadcasting and vectorization to make your NumPy code even faster.
Gain Confidence by Practicing on the Monet datasetBy the last chapter, you will use your newly acquired knowledge to perform array transformations. You will use image 3D arrays to alter a Claude Monet painting and understand why such array alterations are essential tools for machine learning.
You will gain confidence in Numpy arrays and their different operations upon course completion. This course is part of the Data Scientist with Python track and is perfect for those seeking a Data Science certification with DataCamp.
Understanding NumPy ArraysFree
Meet the incredible NumPy array! Learn how to create and change array shapes to suit your needs. Finally, discover NumPy's many data types and how they contribute to speedy array operations.Introducing arrays50 xpYour first NumPy array100 xpCreating arrays from scratch100 xpA range array100 xpArray dimensionality50 xp3D array creation100 xpThe fourth dimension100 xpFlattening and reshaping100 xpNumPy data types50 xpThe dtype argument100 xpAnticipating data types100 xpA smaller sudoku game100 xp
Selecting and Updating Data
Sharpen your NumPy data wrangling skills by slicing, filtering, and sorting New York City’s tree census data. Create new arrays by pulling data based on conditional statements, and add and remove data along any dimension to suit your purpose. Along the way, you’ll learn the shape and dimension compatibility principles to prepare for super-fast array math.Indexing and slicing arrays50 xpSlicing and indexing trees100 xpStepping into 2D100 xpSorting trees100 xpFiltering arrays50 xpFiltering with masks100 xpFancy indexing vs. np.where()100 xpCreating arrays from conditions100 xpAdding and removing data50 xpCompatible or not?100 xpAdding rows100 xpAdding columns100 xpDeleting with np.delete()100 xp
Leverage NumPy’s speedy vectorized operations to gather summary insights on sales data for American liquor stores, restaurants, and department stores. Vectorize Python functions for use in your NumPy code. Finally, use broadcasting logic to perform mathematical operations between arrays of different sizes.
NumPy meets the art world in this final chapter as we use image data from a Monet masterpiece to explore how you can use to augment image data. You’ll use flipping and transposing functionality to quickly transform our masterpiece. Next, you’ll pull the Monet array apart, make changes, and reconstruct it using array stacking to see the results.
In the following tracksData Manipulation with Python
Izzy WeberSee More
Data Coach at iO-Sphere
Izzy is a Data Coach at iO-Sphere. She discovered a love for data during her seven years as an accounting professor at the University of Washington. She holds a masters degree in Taxation and is a Certified Public Accountant. Her passion is making learning technical topics fun.
Don’t just take our word for it
*4.8from 41 reviews
- Luis F.about 1 month
Excellent introduction for everyone who want to learn the most important tool in python for machine learning and AI
- Ongun A.2 months
Well thought of and good introduction to NumPy with all the basics without going too deep into syntax. The course is also fun. Highly recommended for beginners!
- Sue D.2 months
The instructor is outstanding! She has incredible teaching skills. This is my first time to take the Numpy course, I learned a lot about Numpy from this class.
- Denis K.2 months
I wanted to be able to practice more but didn't know where to go next, some suggestions over how I can advance my numpy skills would've been nice.
- Jaime P.3 months
I am glad to took this lessons. Are very clear and practical. I got motivation to progress everyday.
"Excellent introduction for everyone who want to learn the most important tool in python for machine learning and AI"
"Well thought of and good introduction to NumPy with all the basics without going too deep into syntax. The course is also fun. Highly recommended for beginners!"
"The instructor is outstanding! She has incredible teaching skills. This is my first time to take the Numpy course, I learned a lot about Numpy from this class."
Join over 11 million learners and start Introduction to NumPy today!
Create Your Free Account