package documentation

Contains the core of NumPy: ndarray, ufuncs, dtypes, etc.

Please note that this module is private. All functions and objects are available in the main numpy namespace - use that instead.

Module arrayprint Array printing function
Module char This module contains a set of functions for vectorized string operations and methods.
Package code_generators No package docstring; 3/7 modules documented
Module cversions Simple script to compute the api hash of the current API.
Module einsumfunc Implementation of optimized einsum.
Module fromnumeric Module containing non-deprecated functions borrowed from Numeric.
Module function_base No module docstring; 0/1 variable, 4/8 functions documented
Module getlimits Machine limits for Float32 and Float64 and (long double) if available...
Module memmap No module docstring; 0/3 variable, 1/1 class documented
Module multiarray Create the numpy.core.multiarray namespace for backward compatibility. In v1.16 the multiarray and umath c-extension modules were merged into a single _multiarray_umath extension module. So we replicate the old namespace by importing from the extension module.
Module numeric No module docstring; 0/10 variable, 28/53 functions, 3/3 exceptions documented
Module numerictypes numerictypes: Define the numeric type objects
Module overrides Implementation of __array_function__ overrides from NEP-18.
Module rec Record arrays expose the fields of structured arrays as properties.
Module setup No module docstring; 0/3 constant, 5/13 functions, 0/1 class documented
Module setup_common No module docstring; 0/28 constant, 5/10 functions, 0/1 exception documented
Module shape_base No module docstring; 0/4 variable, 13/24 functions documented
Package tests No package docstring; 16/62 modules documented
Module umath Create the numpy.core.umath namespace for backward compatibility. In v1.16 the multiarray and umath c-extension modules were merged into a single _multiarray_umath extension module. So we replicate the old namespace by importing from the extension module.
Module umath_tests Shim for _umath_tests to allow a deprecation period for the new name.
Module _add_newdocs This is only meant to add docs to objects defined in C-extension modules. The purpose is to allow easier editing of the docstrings without requiring a re-compile.
Module _add_newdocs_scalars This file is separate from _add_newdocs.py so that it can be mocked out by our sphinx conf.py during doc builds, where we want to avoid showing platform-dependent information.
Module _asarray Functions in the as*array family that promote array-likes into arrays.
Module _dtype A place for code to be called from the implementation of np.dtype
Module _dtype_ctypes Conversion from ctypes to dtype.
Module _exceptions Various richly-typed exceptions, that also help us deal with string formatting in python where it's easier.
Module _internal A place for internal code
Module _machar Machine arithmetic - determine the parameters of the floating-point arithmetic system
Module _methods Array methods which are called by both the C-code for the method and the Python code for the NumPy-namespace function
Module _string_helpers String-handling utilities to avoid locale-dependence.
Module _type_aliases Due to compatibility, numpy has a very large number of different naming conventions for the scalar types (those subclassing from numpy.generic). This file produces a convoluted set of dictionaries mapping names to types, and sometimes other mappings too.
Module _ufunc_config Functions for changing global ufunc configuration

From __init__.py:

Function __getattr__ Undocumented
Variable env_added Undocumented
Variable msg Undocumented
Variable path Undocumented
Variable test Undocumented
Function _DType_reconstruct Undocumented
Function _DType_reduce Undocumented
Function _ufunc_reconstruct Undocumented
Function _ufunc_reduce Undocumented
env_added: list = (source)

Undocumented

Undocumented

Undocumented

def _ufunc_reconstruct(module, name): (source)

Undocumented

def _ufunc_reduce(func): (source)

Undocumented

def _DType_reconstruct(scalar_type): (source)

Undocumented

def _DType_reduce(DType): (source)

Undocumented

def __getattr__(name): (source)

Undocumented

Undocumented