Sunday 1 January 2017

what is Numpy?

Numpy is fundamental package for scientific computing.
At the core of Numpy package we have ndarray object.It encapsulates n-dimensional arrays of homogeneous data types, with many operations being performed in compiled code for performance.

Numpy numerical types are instances of dtype (data-type) objects, each having unique characteristics. Once you have imported Numpy using
>>> import numpy as np



There are many differences between Numpy Arrays and python sequences:
1.Numpy arrays have a fixed size at creation, unlike Python lists (which can grow dynamically). Changing the size of an nd-array will create a new array and delete the original.