Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
ENH: add option chop_threshold to control display of small numerical values as zero #2739
Conversation
|
It does what I asked - Thanks! There is one improvement I think we could make. Assuming I have set the A side note, is there a way to control if things are printed in scientific format (with the e's)? |
|
You can look at the code for |
wesm
was assigned
Feb 10, 2013
|
cherry picked. thanks |
wesm
closed this
Feb 10, 2013
|
added mention to v0.11.0.txt and pushed. |
y-p commentedJan 23, 2013
Doesn't cover complex numbers for now (no formatter implemented in format.py)
I think the "supress" kwd choice in numpy is not that awesome. So I borrowed
chopfromthe mathematica parlance.
#2734