Learn | NEPs | Installation | User Guide | API reference | Building from source | Development | Release notes | What is NumPy? | NumPy quickstart | NumPy: the absolute basics for beginners | NumPy fundamentals | Array creation | Indexing on ndarrays | I/O with NumPy | Data types | Copies and views | Working with Arrays of Strings And Bytes | Structured arrays | Universal functions (ufunc) basics | NumPy how-tos | Using NumPy C-API | F2PY user guide and reference manual | Glossary | NumPy 2.0 migration guide | NumPy license | Under-the-hood documentation for developers | NumPy for MATLAB users
Tin mới
NumPy: the absolute basics for beginners
Working with Arrays of Strings And Bytes
Universal functions (ufunc) basics
F2PY user guide and reference manual
Under-the-hood documentation for developers
Writing Performant NumPy Code with Multi-Core CPUs

NumPy operations are usually done on pairs of arrays on an element-by-element basis. In the simplest case, the two arrays must have exactly the same shape, as in the following example: