This repository contains basic examples of how to use the NumPy library for working with arrays in Python. The examples cover array creation, basic arithmetic operations, reshaping, indexing, and slicing.
- Creating 1D and 2D NumPy arrays
- Element-wise arithmetic operations
- Adding scalars to arrays
- Reshaping arrays
- Indexing and slicing
- Using slice steps
- Python 3.7+
- NumPy
You can install the required packages using:
pip install numpy