numpy.ndarray.formate用法
时间: 2024-06-06 21:08:04 浏览: 66
numpy.ndarray 实现对特定行或列取值
Sure, numpy.ndarray.format is a class attribute that represents the format string used to display the elements of the array. It can be used to set the default display format for all arrays, and can also be changed for individual arrays using the set_printoptions function. The default format string is '%.18e' (exponential notation with 18 decimal places).
阅读全文