Text of numpy.org › doc › stable › reference › generated › numpy.lib.format.magic.html as Styx crawled it on Nov 18, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

numpy.lib.format.magic — NumPy v2.5 Manual

Skip to main content GitHub numpy.lib.format.magic # lib.format. magic ( major , minor ) [source] # Return the magic string for the given file format version. Parameters : major int in [0, 255] minor int in [0, 255] Returns : magic str Raises : ValueError if the version cannot be formatted. On this page