<div dir="ltr"><div dir="ltr"><div>Hello Numpyers,</div><div><br></div><div>I just added the pretty printing for 3D arrays too:</div><div><a href="https://stackoverflow.com/a/53164538/4999991">https://stackoverflow.com/a/53164538/4999991</a></div><div>I would highly appreciate if you could check the implementation and let me know how do you think about it.</div><div><br></div><div>Best,</div><div>Foad</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 5, 2018 at 10:44 PM Foad Sojoodi Farimani <<a href="mailto:f.s.farimani@gmail.com">f.s.farimani@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello everyone,</div><div><br></div><div>Following <a href="https://stackoverflow.com/q/53126305/4999991" target="_blank">this question</a>, 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. </div><div><br></div><div>Best,</div><div>Foad</div></div>
</blockquote></div>