'Is there a way to save numpy set print options?
I like to avoid scientific notation and so I regularly use this command np.set_printoptions(suppress=True, formatter={'float_kind':'{:0.4f}'.format}, linewidth=130)
(For others having the issue suppressing scientific notation with pandas dataframes, this line suppresses scientific notation for both packages).
Is there a way to save this as the default printing options? Or is there a file I can write this to so it loads with python, numpy or anaconda?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
