DOK.asformat¶
- DOK.asformat(format, **kwargs)[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.