array_str(a, max_line_width=None, precision=None, suppress_small=None)
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.
Input array.
Inserts newlines if text is longer than :None:None:`max_line_width`
. Defaults to numpy.get_printoptions()['linewidth']
.
Floating point precision. Defaults to numpy.get_printoptions()['precision']
.
Represent numbers "very close" to zero as zero; default is False. Very close is defined by precision: if the precision is 8, e.g., numbers smaller (in absolute value) than 5e-9 are represented as zero. Defaults to numpy.get_printoptions()['suppress']
.
Return a string representation of the data in an array.
>>> np.array_str(np.arange(3)) '[0 1 2]'See :
The following pages refer to to this document either explicitly or contain code examples using this.
numpy.array_repr
numpy.core.arrayprint.array2string
numpy.array2string
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them