NumPy is a numerical computing package built around the ndarray, a multidimensional array capable of storing and processing large collections of homogeneous data. It provides a foundation for scientific applications, statistical analysis and numerical algorithms.
Arrays can represent vectors, matrices and data with many dimensions. Rather than processing individual values in explicit loops, users can perform mathematical operations on entire arrays. This approach combines concise expressions with efficient numerical execution.
NumPy is particularly useful when working with numerical measurements, sampled signals, simulation results and other structured data. Its array model is also widely used for exchanging information between scientific computing applications and specialised analytical tools.
This is free and open source software.
Key Features
- Multidimensional ndarray objects with configurable shapes, data types and memory layouts.
- Broadcasting of compatible arrays to perform element-wise operations without explicit loops.
- Universal functions for mathematical, logical, comparison and other numerical operations.
- Advanced indexing, Boolean masking and slicing for selecting or modifying array data.
- Array manipulation through reshaping, stacking, splitting, transposing and broadcasting.
- Reduction and aggregation operations including sums, products, means, variances and quantiles.
- Linear algebra routines for matrix multiplication, decompositions, solving systems of equations and eigenvalue calculations.
- Discrete Fourier transforms for frequency-domain analysis of sampled data.
- Random number generation through configurable Generator objects and bit generators.
- Sorting, searching and set operations for numerical and categorical array values.
- Structured arrays, record arrays and masked arrays for specialised data representations.
- File input and output for NumPy array formats, text files and memory-mapped data.
- Interoperability with scientific computing packages through standard array interfaces.
- f2py interface generator for connecting numerical routines implemented in Fortran.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: numpy.org
Support:
Developer: NumPy Developers
License: BSD 3-Clause ‘New’ or ‘Revised’ License
NumPy is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Python Data Analysis | |
|---|---|
| pandas | High-level building block for doing practical, real world data analysis |
| NumPy | Core package for scientific computing with Python |
| SciPy | Ecosystem for mathematics, science, and engineering |
| Polars | DataFrame interface on top of an OLAP Query Engine |
| statsmodels | Statistical modeling and econometrics in Python |
| Dask | Advanced parallelism for analytics |
| Orange | Component-based framework for machine learning and data mining |
| Modin | Drop-in replacement for pandas |
| Vaex | Fast visualization of big data |
| AWS DW | Extends the power of pandas library |
| yt | Multi-code Toolkit for Analyzing and Visualizing Volumetric Data |
| HoloViews | Make Data Analysis and Visualization Seamless |
| datatable | Manipulate 2-dimensional tabular data structures |
| xarray | Work with labelled multi-dimensional arrays and datasets |
| pyjanitor | Extend pandas with readable data-cleaning functions |
| Optimus | Agile Data Preparation Workflows |
Read our verdict in the software roundup.
| Python Mathematics Tools | |
|---|---|
| scikit-learn | Machine learning library for Python |
| NumPy | Core package for scientific computing with Python |
| SciPy | Ecosystem for mathematics, science, and engineering. |
| statsmodels | Statistical modeling and econometrics |
| JAX | Python library for high-performance numerical computing |
| SageMath | Computer algebra system |
| SymPy | Library for symbolic mathematics |
| PyMC | Bayesian statistical modeling and probabilistic programming |
| Pyomo | Object-oriented algebraic modeling language |
| patsy | Package for describing statistical models and to build design matrices |
| mpmath | Library for arbitrary-precision floating-point arithmetic |
| SfePy | Finite element software package |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.