You now know how to use NumPy arange(). The function np.arange() is one of the fundamental NumPy routines often used to create instances of NumPy ndarray. It has four arguments:
- start: the first value of the array
- stop: where the array ends
- step: the increment or decrement
- dtype: the type of the elements of the array
You also learned how NumPy arange() compares with the Python built-in class range when you’re creating sequences and generating values to iterate over.
You saw that there are other NumPy array creation routines based on numerical ranges, such as linspace(), logspace(), meshgrid(), and so on.

Glenn Lehman on Nov. 26, 2021
Excellent supplement to the written course! Thank You!