Keywords: gildas-python

Next: Functions Up: NumPy basics Previous: Attributes Contents Index

#### Methods

Methods come with any `numpy.ndarray`. Among others:

- The `.flatten()` built-in method: returns a flat (rank 1) vector compound with a copy of all input array elements.

- The `.tostring()` built-in method: returns a string representation of the data portion of the array it is applied to. It can be used to concatenate elements of a character ('`|S1`') array.