Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.35 KB

File metadata and controls

21 lines (16 loc) · 1.35 KB

Numpy

NumPy is a Python library that stands for "Numerical Python." It's one of the fundamental packages for numerical computing in Python, providing support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions to operate on these arrays efficiently.

Numpy Functions

Function Description
numpy.array() Create an array from a Python list or tuple
numpy.zeros() Create an array filled with zeros
numpy.ones() Create an array filled with ones
numpy.arange() Create an array with evenly spaced values within a range
numpy.reshape() Reshape an array into a new shape
numpy.transpose() Transpose the rows and columns of an array
numpy.concatenate() Concatenate arrays along a specified axis
numpy.mean() Compute the mean along a specified axis
numpy.max() Find the maximum value along a specified axis
numpy.linalg.inv() Compute the inverse of a square matrix

Refer the code section to get a basic knowlegde of how numpy function are used in python.