diff options
author | Ganesh Kathiresan <ganesh3597@gmail.com> | 2023-04-06 16:04:33 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 12:34:33 +0200 |
commit | be0e502e47b72db8fbd52ab40124fcb07d45936f (patch) | |
tree | d6af8d58891f7c6d573f54edebef03ad529f49c8 /numpy/array_api/_manipulation_functions.py | |
parent | 1307defe4d4bb3d3cbef7adb187c471abf3e904d (diff) | |
download | numpy-be0e502e47b72db8fbd52ab40124fcb07d45936f.tar.gz |
ENH: ``__repr__`` for NpzFile object (#23357)
Improves the repr to include information about the arrays contained, e.g.:
>>> npzfile = np.load('arr.npz')
>>> npzfile
NpzFile 'arr.npz' with keys arr_0, arr_1, arr_2, arr_3, arr_4...
closes #23319
Co-authored-by: Ross Barnowski <rossbar@berkeley.edu>
Diffstat (limited to 'numpy/array_api/_manipulation_functions.py')
0 files changed, 0 insertions, 0 deletions