chararray.tolist()
numpy.core.defchararray.chararray.tolist
-
chararray.tolist()
-
Return the array as a (possibly nested) list.
Return a copy of the array data as a (nested) Python list. Data items are converted to the nearest compatible Python type.
Parameters: none
Returns: y : list
The possibly nested list of array elements.
Notes
The array may be recreated,
a = np.array(a.tolist())
.Examples