-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Docs for lurking groupby methods #4500
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 think probably worth going through "everything", still quite a lot not online.) |
+1 for script that finds non-doced methods? |
i thought @y-p wrote one oh you mean non doc in documentation? |
yep.....does that find |
oh sorry his is for undoc'd arguments. not hard to write script to find things with no docstrings, there's |
Is there a script which checks for docstrings? I was thinking the other day a few which have the Was talking more about online docs, e.g. just added get_dummies #4444 in recent pr. |
i think to do the deep find you'd need to compile into byte code first |
ast will only parse the raw source which means those run eval'd docstrings wno't show up |
hmm....let's close in favor of #6944 |
cool |
yep, I added a last bullet to mention this specifically. BTW, @jreback, do you know if this would be easy possible? To add a docstring to the wrapped functions in the apply whitelist? |
I think you just need to do something like this: https://github.com/pydata/pandas/blob/master/pandas/core/groupby.py#L495 |
ah yes, thanks. We could maybe eg just add the Will add this to the list in #6944 |
see this SO question
related: http://stackoverflow.com/questions/21763660/api-ref-missing-dataframegroupby-objects
methods like
nunique
should be documented; i bet there are more like this that you can see in tab completion but that are valid method calls.The text was updated successfully, but these errors were encountered: