NumPy TutorialReadDiscussCoursesPracticeImprove Article ImproveSave Article SaveLike Article LikePython NumPy is a general-purpose array processing package which provides tools for handling the n-dimensional arrays. It provides various computing tools such as comprehensive mathematical functions, linear algebra routines. NumPy provides both the flexibility of Python and the speed of well-optimized compiled C code. It’s easy to use syntax makes it highly accessible and productive for programmers from any background.This NumPy tutorial helps you learn the fundamentals of NumPy from Basics to Advance, like operations on NumPy array, matrices using a huge dataset of NumPy – programs and projects.Recent Articles on NumPy !!IntroductionIntroduction to NumpyPython NumPyNumPy array in PythonBasics of NumPy ArraysPython Lists VS Numpy ArraysNumpy – ndarrayData type Object (dtype) in NumPy PythonCreating NumPy ArrayNumpy – Array CreationThe Arange MethodThe Zero MethodCreate a Numpy array filled with all onesThe linspace MethodThe eye MethodNumpy Meshgrid functionCreating a one-dimensional NumPy arrayHow to create an empty and a full NumPy array?Create a Numpy array filled with all zerosCreate a Numpy array filled with all onesHow to generate 2-D Gaussian array using NumPy?How to create a vector in Python using NumPyCreate the record array from list of individual recordsNumPy Array ManipulationCopy and View in NumPy ArrayHow to Copy NumPy array into another array?Appending values at the end of an NumPy arrayHow to swap columns of a given NumPy array?Insert a new axis within a NumPy arrayStack the sequence of NumPy array horizontallyStack the sequence of NumPy array verticallyJoining NumPy ArrayCombining a one and a two-dimensional NumPy ArrayConcatenate two arrays – np.ma.concatenate()Combined array index by indexSplitting Arrays in NumPyCompare two NumPy arraysFind the union of two NumPy arraysFind unique rows in a NumPy arrayGet the unique values from an arrayTrim the leading and/or trailing zeros from a 1-D arrayMatrix in NumPyMatrix manipulation in Pythonnumpy matrix operations | empty() functionnumpy matrix operations | zeros() functionnumpy matrix operations | ones() functionnumpy matrix operations | eye() functionnumpy matrix operations | identity() functionAdding and Subtracting Matrices in PythonMatrix Multiplication in NumPyDot product of two arraysNumPy | Vector MultiplicationHow to calculate dot product of two vectors in Python?Multiplication of two Matrices in Single line using Numpy in PythonGet the eigen values of a matrixCalculate the determinant of a matrix using NumPyFind the transpose of the matrixFind the variance of a matrixCompute the inverse of a matrix using NumPyOperations on NumPy ArrayNumpy – Binary OperationsNumpy – Mathematical FunctionNumpy – String OperationsReshaping NumPy ArrayReshape NumPy ArrayResize the shape of the given matrixReshape the shape of the given matrixGet the Shape of NumPy ArrayChange the dimension of a NumPy arrayChange shape and size of array in-placeFlatten a Matrix in Python using NumPyFlatten a matrix – matrix.ravel()Move axes of an array to new positionsInterchange two axes of an arraySwap the axes a matrixSplit an array into multiple sub-arrays verticallySplit an array into multiple sub-arrays horizontallyGive a new shape to the masked array without changing its dataSqueeze the size of a matrixIndexing NumPy ArrayBasic Slicing and Advanced Indexing in NumPy PythonGet selected slices of an array along mentioned axisAccessing Data Along Multiple Dimensions Arrays in Python NumpyHow to access different rows of a multidimensional NumPy array?Get the indices for the lower-triangle of an (n, m) arrayArithmetic operations on NumPy ArrayBroadcasting with NumPy ArraysEstimation of VariablePython: Operations on Numpy ArraysHow to use the NumPy sum function?Divide the NumPy array element wiseComputes the inner product of two arraysAbsolute Deviation and Absolute Mean Deviation using NumPyFind the standard deviation a matrixCalculate the GCD of the NumPy arrayLinear Algebra in NumPy ArrayNumpy | Linear AlgebraGet the QR factorization of a given NumPy arrayHow to get the magnitude of a vector in NumPy?Compute the eigenvalues and right eigenvectors of a given square array using NumPy?NumPy and Random DataRandom sampling in numpy | ranf() functionRandom sampling in numpy | random() functionRandom sampling in numpy | random_sample() functionRandom sampling in numpy | sample() functionRandom sampling in numpy | random_integers() functionRandom sampling in numpy | randint() functionGet random elements from NumPy – random.choice()How to choose elements from the list with different probability using NumPy?How to get weighted random choice in Python?How to get the random positioning of different integer values?Get Random Elements form geometric distributionGet Random samples of a sequence of permutationSorting and Searching in NumPy ArraySearching in a NumPy arrayHow to sort a Numpy ArrayNumpy – Sorting, Searching and CountingVariations in different Sorting techniques in PythonSort a complex arrayGet the minimum value of masked arraySort the values in a matrixSort the elements in the given matrix having one or more dimensionUniversal FunctionsNumpy ufunc | Universal functionsCreate your own universal function in NumPyWorking With ImagesCreate a white image using NumPy in PythonConvert a NumPy array to an imageHow to Convert images to NumPy array?Convert an image to NumPy array and save it to CSV file using Python?Projects and Applications with NumPyPrint checkerboard pattern of nxn using numpyImplementation of neural network from scratch using NumPyAnalyzing selling price of used cars using PythonLast Updated : 15 Mar, 2023Like Article Save Article Please Login to comment...