bundles / numpy 2.4.3 / numpy / lib / format / drop_metadata
function
numpy.lib.format:drop_metadata
source: /numpy/lib/_utils_impl.py :724
Signature
def drop_metadata ( dtype , / ) Summary
Returns the dtype unchanged if it contained no metadata or a copy of the dtype if it (or any of its structure dtypes) contained metadata.
Extended Summary
This utility is used by np.save and np.savez to drop metadata before saving.
Aliases
-
numpy.lib._format_impl.drop_metadata