Tin mới
NEP 18 — A dispatch mechanism for NumPy’s high level array functions
in the Python C-API documentation
The buffer protocol, described in the Python C-API documentation.
Writing custom array containers
Special attributes and methods
Special attributes and methods (details on the __array_ufunc__ and __array_function__ protocols)
Subclassing ndarray (details on the __array_wrap__ and __array_finalize__ methods)
Specific features of ndarray sub-typing
Specific features of ndarray sub-typing (more details on the implementation of __array_finalize__, __array_wrap__ and __array_priority__)