I have been learning NumPy arrays/matrices in Python.
As I worked, I found that I desired a more readable form of 3d matrices. So I figured that writing one would be a good goal and learning exercise. The goal was to create a function that would print 3d NumPy matrices out in a more readable 'tower' form, but without altering the original matrix or duplicating it . I accomplished the goal, and learned much about NumPy, and output formatting.
If you too desire to have 3d matrices displayed in a more readable form, then this should do the trick.
Note: Yes, I am not PEP-8 compliant. The code rows are longer than 80 chars. with the comments. Please adjust/modify as needed.
Edited 1 Year Ago by BustACode: Misspelling