[Numpy-discussion] numpy pprint?

Foad Sojoodi Farimani f.s.farimani at gmail.com
Mon Nov 5 16:44:52 EST 2018


Hello everyone,

Following this question <https://stackoverflow.com/q/53126305/4999991>, I'm
convinced that numpy ndarrays are not MATLAB/mathematical multidimentional
matrices and I should stop expecting them to be. However I still think it
would have a lot of benefit to have a function like sympy's pprint to
pretty print. something like pandas .head and .tail method plus  .left
.right .UpLeft .UpRight .DownLeft .DownRight methods. when nothing
mentioned it would show 4 corners and put dots in the middle if the array
is to big for the terminal.

Best,
Foad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20181105/d6f30961/attachment.html>


More information about the NumPy-Discussion mailing list