A quick overview about different ways of creating numpy arrays

Image for post

Photo by Faris Mohammed on Unsplash

Numpy- Numerical Python

Numpy is multidimensional array library used for scientific computing.

Why use numpy:

Numpy is faster,convenient and takes less memory.

Numpy is homogeneous. Items in the array are of same data type.

Install numpy library:

pip install numpy

Import numpy library

import numpy as np

How to create numpy array:

Image for post

#numpy-tutorial #python-programming #numpy-array #numpy #python3

How to Create Numpy Arrays
1.40 GEEK