NumPy manual contentsΒΆ
- NumPy User Guide
- Setting up
- Quickstart tutorial
- NumPy basics
- Data types
- Array creation
- I/O with NumPy
- Indexing
- Assignment vs referencing
- Single element indexing
- Other indexing options
- Index arrays
- Indexing Multi-dimensional arrays
- Boolean or “mask” index arrays
- Combining index arrays with slices
- Structural indexing tools
- Assigning values to indexed arrays
- Dealing with variable numbers of indices within programs
- Broadcasting
- Byte-swapping
- Structured arrays
- Subclassing ndarray
- Credits
- Introduction
- View casting
- Creating new from template
- Relationship of view casting and new-from-template
- Implications for subclassing
- Simple example - adding an extra attribute to ndarray
- Slightly more realistic example - attribute added to existing array
__array_wrap__for ufuncs- Extra gotchas - custom
__del__methods and ndarray.base - Subclassing and Downstream Compatibility
- Miscellaneous
- NumPy for Matlab users
- Building from source
- Using NumPy C-API
- How to extend NumPy
- Using Python as glue
- Writing your own ufunc
- Beyond the Basics
- NumPy Reference
- Array objects
- The N-dimensional array (
ndarray) - Scalars
- Data type objects (
dtype) - Indexing
- Iterating Over Arrays
- Standard array subclasses
- Masked arrays
- The
numpy.mamodule - Using numpy.ma
- Examples
- Constants of the
numpy.mamodule - The
MaskedArrayclass MaskedArraymethods- Masked array operations
- The
- The Array Interface
- Datetimes and Timedeltas
- The N-dimensional array (
- Universal functions (
ufunc) - Routines
- Array creation routines
- Array manipulation routines
- Binary operations
- String operations
- C-Types Foreign Function Interface (
numpy.ctypeslib) - Datetime Support Functions
- Data type routines
- Optionally Scipy-accelerated routines (
numpy.dual) - Mathematical functions with automatic domain (
numpy.emath) - Floating point error handling
- Discrete Fourier Transform (
numpy.fft) - Financial functions
- Functional programming
- NumPy-specific help functions
- Indexing routines
- Input and output
- Linear algebra (
numpy.linalg) - Logic functions
- Masked array operations
- Mathematical functions
- Matrix library (
numpy.matlib) - Miscellaneous routines
- Padding Arrays
- Polynomials
- Transition notice
- Polynomial Package
- Using the Convenience Classes
- Polynomial Module (
numpy.polynomial.polynomial) - Chebyshev Module (
numpy.polynomial.chebyshev) - Legendre Module (
numpy.polynomial.legendre) - Laguerre Module (
numpy.polynomial.laguerre) - Hermite Module, “Physicists’” (
numpy.polynomial.hermite) - HermiteE Module, “Probabilists’” (
numpy.polynomial.hermite_e)
- Poly1d
- Polynomial Package
- Transition notice
- Random sampling (
numpy.random) - Set routines
- Sorting, searching, and counting
- Statistics
- Test Support (
numpy.testing) - Window functions
- Packaging (
numpy.distutils) - NumPy C-API
- Python Types and C-Structures
- System configuration
- Data Type API
- Array API
- Array Iterator API
- UFunc API
- Generalized Universal Function API
- NumPy core libraries
- C API Deprecations
- NumPy internals
- NumPy and SWIG
- Acknowledgements
- Array objects
- F2PY Users Guide and Reference Manual
- Contributing to NumPy
- Working with NumPy source code
- Setting up and using your development environment
- NumPy governance
- NumPy Enhancement Proposals
- Release Notes
- NumPy 1.12.0 Release Notes
- Highlights
- Dropped Support
- Added Support
- Build System Changes
- Deprecations
- Future Changes
- Compatibility notes
- DeprecationWarning to error
- FutureWarning to changed behavior
powerand**raise errors for integer to negative integer powers- Relaxed stride checking is the default
- The
np.percentile‘midpoint’ interpolation method fixed for exact indices keepdimskwarg is passed through to user-class methodsbitwise_andidentity changed- ma.median warns and returns nan when unmasked invalid values are encountered
- Greater consistancy in
assert_almost_equal NoseTesterbehaviour of warnings during testingassert_warnsanddeprecateddecorator more specific- C API
- New Features
- Writeable keyword argument for
as_strided axeskeyword argument forrot90- Generalized
flip - BLIS support in
numpy.distutils - Hook in
numpy/__init__.pyto run distribution-specific checks - New nanfunctions
nancumsumandnancumprodadded np.interpcan now interpolate complex values- New polynomial evaluation function
polyvalfromrootsadded - New array creation function
geomspaceadded - New context manager for testing warnings
- New masked array functions
ma.convolveandma.correlateadded - New
float_powerufunc np.loadtxtnow supports a single integer asusecolargument- Improved automated bin estimators for
histogram np.rollcan now roll multiple axes at the same time- The
__complex__method has been implemented for the ndarrays pathlib.Pathobjects now supported- New
bitsattribute fornp.finfo - New
signatureargument tonp.vectorize - Emit py3kwarnings for division of integer arrays
- numpy.sctypes now includes bytes on Python3 too
- Writeable keyword argument for
- Improvements
bitwise_andidentity changed- Generalized Ufuncs will now unlock the GIL
- Caches in np.fft are now bounded in total size and item count
- Improved handling of zero-width string/unicode dtypes
- Integer ufuncs vectorized with AVX2
- Order of operations optimization in
np.einsum - quicksort has been changed to an introsort
ediff1dimproved performance and subclass handling- Improved precision of
ndarray.meanfor float16 arrays
- Changes
- Contributors
- Pull requests merged
- NumPy 1.11.3 Release Notes
- Contributors to maintenance/1.11.3
- Pull Requests Merged
- Pull Requests Merged
- Fixes Merged
- Highlights
- Build System Changes
- Future Changes
- Compatibility notes
- New Features
- Improvements
- Changes
- Deprecations
- FutureWarnings
- Compatibility notes
- Issues Fixed
- Merged PRs
- Compatibility notes
- Issues Fixed
- Merged PRs
- Notes
- Highlights
- Dropped Support
- Future Changes
- Compatibility notes
- New Features
- Improvements
- Changes
- Deprecations
- Issues fixed
- Issues fixed
- Highlights
- Dropped Support
- Future Changes
- Compatibility notes
- New Features
- Improvements
- Deprecations
- Issues fixed
- Issues fixed
- Changes
- Deprecations
- Highlights
- Dropped Support
- Future Changes
- Compatibility notes
- New Features
- Improvements
- Changes
- Deprecations
- Authors
- Issues fixed
- Issues fixed
- Highlights
- Compatibility notes
- New features
- Changes
- Deprecations
- Issues fixed
- Changes
- Issues Fixed
- Highlights
- New features
- Changes
- Deprecated features
- Removed features
- Highlights
- New features
- Changes
- Highlights
- New features
- Improvements
- Deprecations
- Internal changes
- Highlights
- New features
- Deprecated features
- Documentation changes
- New C API
- Internal changes
- NumPy 1.12.0 Release Notes
- About NumPy
- About this documentation
- Reporting bugs
- NumPy License
- Glossary