A Soft Introduction to Numpy Arrays- Part 2: Slicing & Arithmetic Operations

K. N
4 min readDec 10, 2022

This article can be considered a continuation of part 1.

(Image source)

Slicing of Numpy Arrays:

Slicing in NumPy works similarly to slicing in Python’s built-in lists, but has some additional features that can be useful. The general syntax for slicing a NumPy array is a[start:stop:step, start:stop:step, ...], where a is…