
Learn to manipulate large data arrays with NumPy, a foundational skill for data science and machine learning, as you prepare for linear models and data visualization.
Explore how NumPy's random number generator creates arrays of random values, samples from distributions like standard normal, and selects or shuffles elements to support machine learning workflows.
Generate samples from a guy square distribution, a Poisson distribution, and a normal distribution; visualize with histograms and compare mean, standard deviation, and the median via the Quandialla function.
In this course you will learn to use the NumPy library fluently. NumPy is a numerical computation library extensively used in data science, machine learning and statistics. In fact, many other libraries in these fields rely on NumPy arrays to deliver their functionality efficiently. In the area of data science and machine learning we often work with tabular data, which can be represented very well by NumPy arrays. In the course you will learn how to work with n-dimensional arrays and how to manipulate them comfortably to solve complex tasks in different domains.
NumPy processes matrix operations extremely efficiently, offering low execution time and memory usage. Its functionality is implemented in the C programming language: a very efficient compiled language. This functionality is executed from the Python interface with a simple declarative syntax.
The course is divided into 12 lessons:
- Introduction to the NumPy library.
- Creating, indexing and slicing NumPy arrays.
- Copying and editing NumPy arrays.
- Stacking and restructuring NumPy arrays.
- Arithmetic operations with NumPy arrays.
- Operations with NumPy arrays of different shapes.
- Concatenation, reversion and persistence of NumPy arrays.
- Applications of NumPy - Random number generation
- Applications of NumPy - Statistics
- Applications of NumPy - Linear algebra
- Applications of NumPy - Image manipulation
- Applications of NumPy - Chaotic dynamical systems
At the end of the course, you will know how to create arrays using different methods, manipulate them and perform mathematical operations with them.