Print or write to a file the source code for a Numpy object.
object : numpy object
Input object.
output : file object, optional
If output not supplied then source code is printed to screen (sys.stdout). File object must be created with either write ‘w’ or append ‘a’ modes.
numpy.info
Miscellaneous routines