NumPy Accessing Arrays
In this tutorial you will learn:
- Access NumPy Array
- Accessing Arrays with Negative Index
Access NumPy Array
The elements of NumPy Array can be accessed by indexing, it’s very similar to accessing an element in an array. We already know that the index of an array start with zero.
Example
Access a 1-D array is very simple and straight forward we just need to pass the index in square brackets and print the value.
- Read more about NumPy Accessing Arrays
- Log in or register to post comments
- 109 views