def str_g(a):
(precision, linewidth, edgeitems) = est_options(a)
set_options(precision, linewidth, edgeitems)
np.set_string_function(None, repr=False)
str = a.__str__()
np.set_string_function(str_g, repr=False)
return str
评论列表
文章目录