
Explore numpy, the open-source numerical python library for storing data in multi-dimensional arrays and performing arithmetic, statistical, bitwise, copying, stacking, and linear algebra operations, with SciPy and Matplotlib.
Learn how to install numpy using the Python package installer across operating systems, including commands for Windows, creating and activating a dedicated environment, and configuring the installation.
Explore the NumPy ndarray object, its dtype-based elements, and how to create multi-dimensional arrays with shape and memory order (row-major or column-major).
Explore numpy data types and dtype objects, including boolean, integers of various bit widths, floats, and complex numbers, with byte order (little and big endian) and practical constructors.
Explore numpy array attributes such as shape, ndim, reshape, itemsize, and flags to inspect and adjust array dimensions, element size, and writability.
Explains numpy array creation routines such as empty, zeros, and ones; uses shape, dtype, and order parameters; demonstrates 3x2 arrays, default float dtype, and structured dtype examples.
Learn to create numpy arrays from existing data by converting lists, tuples, buffers, and Python objects using dtype control, and one-dimensional array generation.
Learn to generate arrays from numerical ranges in numpy using range, linspace, and logspace, with start, stop, step, endpoint behavior, and data type considerations for data analytics.
Learn to apply advanced indexing in NumPy, using integer indexing to select random elements, boolean array indexing to filter values, and function-based indexing to derive indices from expressions.
Explore numpy broadcasting, which stretches a smaller array to match a larger array during arithmetic operations, with rules for matching shapes and practical 1D and 2D examples.
Explore how to iterate over NumPy arrays with for loops, reshape and transpose arrays, and control memory order (C-order, F-order) to influence element access and broadcasting.
Learn binary and bitwise operations in numpy using numbers like 13 and 17, their binary representations, and results such as 29, 42, and 510 on unsigned integers.
Apply sine, cosine, and tangent to an array of angles in NumPy. Learn rounding with around, floor, and ceil to see how values transform.
Learn NumPy arithmetic on arrays with broadcasting, including addition, subtraction, multiplication, and division. Explore reciprocal, power, remainder, and complex-number operations, including real and imaginary parts, conjugate, and angle in degrees.
Explore computing mean, max, min, percentile, median, range, and standard deviation on NumPy arrays, with axis specifications and weighted averages.
Learn to call NumPy's sort and search functions, control sorting with axis and kind parameters, and reconstruct sorted data using indices, including sorting records by name or age.
Explore endianness in numpy by swapping bytes between little and big endian representations, visualize memory layout, and observe hexadecimal values before and after 16-bit byte swapping.
Understand copies and views in numpy, assignment aliases memory without copying, slicing creates a view, and copy and deep copy yield independent data.
Explore matrix creation in numpy, using functions to generate empty, zeros, ones, identity, eye, and random matrices, and convert lists into matrices with tips on shape, order, and diagonal elements.
Explore NumPy's linear algebra capabilities, including dot product, matrix multiplication, determinant, inverse, and other essential linear algebra operations on small matrices, with emphasis on practical operations and outputs.
Learn to plot with Matplotlib in Python using pyplot to plot 2D data and simple equations, customize titles, labels, and colors, and explore subplots and bar charts.
Learn to plot a histogram with Matplotlib by feeding data and bins, compute frequencies per bin, and visualize the data distribution across defined value ranges.
Save and load NumPy arrays using binary and text file operations, preserving shape and data type to reconstruct the array from disk and share it across machines.
The data analytics needs specialized data structure for storing numerical data. The numpy library provides the required data stucture. NumPy is a Python package. It stands for 'Numerical Python'. It is a library consisting of multidimensional array objects and a collection of routines for processing of array. In this course python numpy library is explained in details. In this tutorial you will learn,
What is numpy?
How to create and use numpy array?
Accessing elements of array.
Operations on numpy array.
Functions of numpy array.
Anybody knowing basic knowledge of python programming can take up this course. In this course each and every concept is explained in detail. Also following resources are provided to students,
Notes
Examples
The contents of this course are,
1. What is numpy
2. How to install numpy
3. NumPy - Ndarray Object
4. NumPy - Data Types
5. NumPy - Array Attributes
6. NumPy - Array Creation Routines
7. NumPy - Array From Existing Data
8. NumPy - Array From Numerical Ranges
9. NumPy - Indexing & Slicing
10. NumPy - Advanced Indexing
11. NumPy - Broadcasting
12. NumPy - Iterating Over Array
13. NumPy - Array Manipulation
14. NumPy - Binary Operators
15. NumPy - String Functions
16. NumPy - Mathematical Functions
17. NumPy - Arithmetic Operations
18. NumPy - Statistical Functions
19. NumPy - Sort, Search & Counting Functions
20. NumPy - Byte Swapping
21. NumPy - Copies & Views
22. NumPy - Matrix Library
23. NumPy - Linear Algebra
24. NumPy - Matplotlib
25. NumPy - Histogram Using Matplotlib
26. I/O with NumPy