擅长:python、mysql、java
<p>在使用numpy时,一定要看一下<a href="http://docs.scipy.org/doc/numpy/reference/generated/numpy.set_printoptions.html" rel="nofollow">^{<cd1>}</a>函数,尤其是它的<code>formatter</code>参数,它采用了<code>{'float': formatting_function}</code>这样的字典。为您的特定案例使用最合适的格式化功能。在</p>