numpy.lib.npyio.NpzFile.get

method

lib.npyio.NpzFile.get(key, default=None, /)[source]

D.get(k,[,d]) returns D[k] if k in D, else d. d defaults to None.

© 2005–2024 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/2.0/reference/generated/numpy.lib.npyio.NpzFile.get.html