numpy.array_str — NumPy v1.24 Manual
numpy.org › generated › numpynumpy.array_str(a, max_line_width=None, precision=None, suppress_small=None) [source] # Return a string representation of the data in an array. The data in the array is returned as a single string. This function is similar to array_repr, the difference being that array_repr also returns information on the kind of array and its data type.
numpy.array2string — NumPy v1.24 Manual
numpy.org › generated › numpynumpy.array2string(a, max_line_width=None, precision=None, suppress_small=None, separator=' ', prefix='', style=<no value>, formatter=None, threshold=None, edgeitems=None, sign=None, floatmode=None, suffix='', *, legacy=None) [source] # Return a string representation of an array. Parameters: andarray Input array. max_line_widthint, optional