Introduction to NumPy
• NumPy is a Python package and it stands for numerical python
• Fundamental package for numerical computations in Python
• Supports N-dimensional array objects that can be used for processing multidimensional data
• Supports different data-types
Array
• An array is a data structure that stores values of same data type
• Lists can contain values corresponding to different data types,
• Arrays in python can only contain values corresponding to same data type
NumPy Array
• A numpy array is a grid of values, all of the same type, and is indexed by a tuple of
nonnegative integers
• The number of dimensions is the rank of the array
• The shape of an array is a tuple of integers giving the size of the array along each dimension
0 Comments:
Post a Comment