NumPy

Previous topic

numpy.ndarray.__str__

Next topic

Scalars

This is documentation for an old release of NumPy (version 1.19). Read this page in the documentation of the latest stable release (version 2.2).

numpy.ndarray.__repr__

method

ndarray.__repr__(self, /)

Return repr(self).