AI engineering glossary · NumPy pandas visualization
What is np.arange?
np.arange: A NumPy function that builds an array of evenly spaced values from a start up to but not including a stop, moving by a fixed step. It is the array version of Python's range and is handy for indices, labels and quick test data.
np.arange: an example
np.arange(0, 10, 2) returns array([0, 2, 4, 6, 8]).
Related terms
More NumPy pandas visualization terms
Where you learn it
np.arange is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.