The who() function of the NumPy library prints the NumPy ndarray in the given dictionary of the current module.
If no dictionary is passed in or vardict is None then it prints NumPy arrays in the globals() dictionary.
Example
import numpy as np
# dictionary containing numpy ndarrays
gfg = {'arr_1': np.arange(3), 'arr_2': np.arange(6),
'name': 'some text', 'number': 34523}
np.who(gfg)
Output: