You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The previous table2string implementation reimplemented Python
formatting, calculating spaces for aligning left, right or center. This
patch just translates our mini-language into the Python mini-language,
and updates the tests.
Previously, when centering required adding an odd number of spaces, we
added the extra to the left, while Python adds to the right.
This difference does not seem worth preserving.
This also avoids allocating a numpy array in order to transpose by using
the `zip(*list)` trick.
0 commit comments