Select Topics in Python
Using NumPy
Objectives
Objectives
• Introduction to NumPy.
• Arrays.
• NumPy operations.
Introduction of NumPy
| Importing NumPy
- https://numpy.org/install/
Create Array using NumPy
| Arrays
- Single-dimensional array.
- Multidimensional array.
NumPy Operations
| Operations
- ndim
- itemsize
- dtype
- reshape
- slicing
- linspace
- max
- min
- sum
NumPy Operations (continued)
| Operations
- Square root.
- Standard deviation.
- Math operators.
- Ravel.
NumPy Operations (continued)
| Special functions
- sin(), cos(), tan()
- Exponential
- Log