
NumPy
Nearly every scientist working in Python draws on the power of NumPy. NumPy brings the computational power of languages like C and Fortran to Python, a language much easier to …
NumPy Documentation
NumPy 1.19 Manual [HTML+zip] [Reference Guide PDF] [User Guide PDF] NumPy 1.18 Manual [HTML+zip] [Reference Guide PDF] [User Guide PDF] NumPy 1.17 Manual [HTML+zip] …
NumPy user guide — NumPy v2.3 Manual
NumPy user guide # This guide is an overview and explains the important features; details are found in NumPy reference.
numpy.where — NumPy v2.3 Manual
numpy.where # numpy.where(condition, [x, y, ]/) # Return elements chosen from x or y depending on condition.
NumPy - Learn
Below is a curated collection of educational resources, both for self-learning and teaching others, developed by NumPy contributors and vetted by the community.
Mathematical functions — NumPy v2.3 Manual
Handling complex numbers # ... Extrema finding # ... Miscellaneous # ... numpy.not_equal
Array creation — NumPy v2.3 Manual
The following lists the ones with known Python libraries to read them and return NumPy arrays (there may be others for which it is possible to read and convert to NumPy arrays so check the …
Structured arrays — NumPy v2.3 Manual
Structured datatypes are implemented in numpy to have base type numpy.void by default, but it is possible to interpret other numpy types as structured types using the (base_dtype, dtype) form …
numpy.round — NumPy v2.3 Manual
For values exactly halfway between rounded decimal values, NumPy rounds to the nearest even value. Thus 1.5 and 2.5 round to 2.0, -0.5 and 0.5 round to 0.0, etc.
numpy.ndarray — NumPy v2.3 Manual
numpy.ndarray # class numpy.ndarray(shape, dtype=float, buffer=None, offset=0, strides=None, order=None) [source] # An array object represents a multidimensional, homogeneous array of …