{"id":8694,"date":"2021-06-12T10:56:04","date_gmt":"2021-06-12T05:26:04","guid":{"rendered":"https:\/\/python-programs.com\/?p=8694"},"modified":"2021-11-22T18:40:39","modified_gmt":"2021-11-22T13:10:39","slug":"numpy-arange-create-a-numpy-array-of-evenly-spaced-numbers-in-python","status":"publish","type":"post","link":"https:\/\/python-programs.com\/numpy-arange-create-a-numpy-array-of-evenly-spaced-numbers-in-python\/","title":{"rendered":"numpy.arange() : Create a Numpy Array of evenly spaced numbers in Python"},"content":{"rendered":"

Creating a Numpy Array of evenly spaced numbers in Python<\/h2>\n

This article is all about In this article creating a Numpy array of evenly spaced numbers over a given interval using the function numpy.arrange()<\/code>.<\/p>\n

numpy.arrange() :<\/h3>\n

Numpy module in python provides a function numpy.arrange()<\/code> to create an Numpy Array of evenly space elements within a given interval. Actually it returns an evenly spaced array of numbers from the range-array starting from start point to stop point with equal step intervals.<\/p>\n

\n
\n
\n
Syntax- numpy.<\/span>arange<\/span>([<\/span>start, <\/span>]<\/span>stop, <\/span>[<\/span>step, <\/span>]<\/span>dtype=<\/span>None<\/span>)<\/span><\/pre>\n<\/div>\n<\/div>\n<\/div>\n

Where\u00a0<\/i><\/p>\n