Course
Introduction to NumPy
Included withPremium or Teams
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.Loved by learners at thousands of companies
Training 2 or more people?
Try DataCamp for BusinessCourse Description
Explore Python's Data Science package: NumPy
Gain 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 Arrays
NumPy 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 dataset
By 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.
Feels like what you want to learn?
Start Course for FreeWhat you'll learn
- Assess array transformation workflows that load, save, reshape, split, stack, transpose, flip, and modify RGB image data for analytical or machine-learning tasks
- Differentiate array creation techniques—including list conversion, np.zeros, np.random.random, and np.arange—when building arrays of specified shapes and data types
- Evaluate vectorized arithmetic, aggregation, and broadcasting operations to determine their effects on arrays with compatible or incompatible shapes
- Identify the characteristics and memory advantages of NumPy n-dimensional arrays compared to Python lists
- Recognize correct methods for indexing, slicing, masking, fancy indexing, concatenating, and deleting data to manipulate elements along defined axes
Prerequisites
Intermediate PythonUnderstanding NumPy Arrays
Selecting and Updating Data
Array Mathematics!
Array Transformations
Complete
Earn Statement of Accomplishment
Add this credential to your LinkedIn profile, resume, or CVShare it on social media and in your performance review
Included withPremium or Teams
Enroll NowFAQs
What is a NumPy array?
A NumPy array is a multi-dimensional object in Python where you can perform calculations over entire arrays. You can access it from the NumPy package.
What is NumPy used for?
NumPy, together with pandas, is one of the most popular and used Python packages in the world. It is mainly used to work with arrays and their functions. These functions include performing linear algebra and matrices. Thus, many data professionals, from machine learning engineers to financial analysts, depend on this package to perform extensive data science tasks.
Why is NumPy used in Machine Learning?
Unlike Pandas, toolkits for machine or deep learning such as Tensorflow or scikit can only use NumPy arrays, meaning that machine learning engineers often prefer NumPy for their tasks. Additionally, with its built-in functions, machine learning engineers can perform lighting speed calculations needed for their tasks.
Join over 19 million learners and start Introduction to NumPy today!
Create Your Free Account
or
By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.