New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAINT, ENH: Upgrade and document numpy.who() #12039
Comments
I thought the reference docs are created automatically from the doc strings inside each function? Also, there is an indirect reference to numpy.who() from the scipy.misc.who() function https://docs.scipy.org/doc/scipy/reference/generated/scipy.misc.who.html I like your proposed format, a lot more helpful! |
I'm not sure Edit: IPython provides |
@pacificgilly1992
That is true, but for some reason
|
While the reference docs are generated from the docstrings, the mapping is not automatic. Other functions from So now we have at least two issues - incomplete documentation/possible future deprecations, and a suggested improvement to |
|
Background
Numpy's
who()
function is a great, very useful function that prints out a table of useful information about thendarray
s in a dictionary, But is is not documented on the reference docs. New users should definitely be made aware of its existence and use cases in the online numpy reference documentation.Also this function can be reimplemented to be much more useful by providing a lot more useful information about the
ndarray
s in tabular format. I propose the output printed bywho()
should be something more like thisThis tells the user a lot more valuable information about the relationships and properties of the variables I have an implementation i wrote in mind that gets this table from a
dict
containingndarray
sThe text was updated successfully, but these errors were encountered: