SparseArray.asformat¶
-
abstract
SparseArray.
asformat
(format)[source]¶ Convert this sparse array to a given format.
- Parameters
format (str) – A format string.
- Returns
out – The converted array.
- Return type
- Raises
NotImplementedError – If the format isn’t supported.