-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: DataFrame() not included in API reference #4790
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
Comments
I went ahead and tried to include It is a huge list:
This are only the missing methods for DataFrame. You can see it here for DataFrame, Series and Panel (methods and attributes): I guess that also for things like |
@jorisvandenbossche what are we doing with this? |
weould be nice to get this in ..i'm constantly referring to things with sphinx but they never link bc this isn't defined |
The index stuff is included here: #4706, which almost ready to merge |
FYI, I wouldn't include ALL methods, some are pseudo-internal, e.g. |
yes ... i just meant the constructors |
To split the discussion into parts: Document all methods or not@jreback Personally, I think that all methods that are available to users, should be documented (because a user can stumble on it). Even though they are maybe pseudo-internal, I think we should make it clear:
Apart from this, there are also a lot of functions in the above list of methods missing in the docs that are not internal at all (like How to include itAt the moment I looked at two ways to include all constructors/methods:
If it is concluded for the first discussion that not all methods should be documented, then the automatic documenting/listing of all methods by Sphinx autodoc can be turned off, or specific methods can be listed in the |
either approach looks fine to me (is first simpler though?) @cpcloud ? |
@jreback I will try some things out, but at the moment I still have a problem with the methods listed twice in the class rendered html page. |
I submitted a PR. I went for the second approach (automatically adding of method pages), as I think the approach of @JanSchulz (https://github.com/pydata/pandas/wiki/Undocumented-public-functions) is a better way to keep track of the methods/functions that are not yet included in the docs. |
The docstring of
DataFrame()
is not present in the documentation (so no 'generated/pandas.DataFrame.html'), because it is not included in the API reference (http://pandas.pydata.org/pandas-docs/dev/api.html).But there is one for
DataFrame.__init__()
(http://pandas.pydata.org/pandas-docs/dev/generated/pandas.DataFrame.__init__.html#pandas.DataFrame.__init__), which seems not that usefull.Do I replace the init version with DataFrame itself, or should I just add a line for DataFrame in api.rst?
The same applies for Series and Panel.
The text was updated successfully, but these errors were encountered: