Hello Numpyers,

I just added the pretty printing for 3D arrays too:
https://stackoverflow.com/a/53164538/4999991
I would highly appreciate if you could check the implementation and let me
know how do you think about it.

Best,
Foad

On Mon, Nov 5, 2018 at 10:44 PM Foad Sojoodi Farimani <
f.s.farim...@gmail.com> wrote:

> 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
>
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to