numpy 1.22.4 Pypi GitHub Homepage
Other Docs
.. data:: allTypes
    A dictionary of names to types that will be exposed as attributes through
    ``np.core.numerictypes.*``
.. data:: sctypeDict
    Similar to `allTypes`, but maps a broader set of aliases to their types.
.. data:: sctypes
    A dictionary keyed by a "type group" string, providing a list of types
    under that group.

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.

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.

.. data:: allTypes
    A dictionary of names to types that will be exposed as attributes through
    ``np.core.numerictypes.*``
.. data:: sctypeDict
    Similar to `allTypes`, but maps a broader set of aliases to their types.
.. data:: sctypes
    A dictionary keyed by a "type group" string, providing a list of types
    under that group.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /numpy/core/_type_aliases.py#0
type: <class 'module'>
Commit: