Created
March 23, 2017 02:15
-
-
Save sergeant-wizard/f6f1164a47fd03657fd6ac3581dcd415 to your computer and use it in GitHub Desktop.
numpy print format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
np.set_printoptions(formatter={'float': lambda x: '%+1.1f' % x}, linewidth=50) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment