-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: See also missing links in GroupBy.apply(), GroupBy.pipe() #31661
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 would be glad to help but I don't know what is missing. On previous PRs I have solved this kind of issue completing the full signature of the linked function. If anyone can guide me to the solution I can propose a PR. |
Looks like these are also broken in 0.25 https://pandas.pydata.org/pandas-docs/version/0.25/reference/api/pandas.core.groupby.GroupBy.pipe.html?highlight=groupby%20pipe#pandas.core.groupby.GroupBy.pipe |
Does it has something to do with the Appender decorator? pandas/pandas/core/groupby/groupby.py Lines 701 to 748 in fd9ceb9
|
@datapythonista @jorisvandenbossche - I think this affects quite alot of the Docstrings in pandas.core. Other examples where See Also links do not have a href would be (in addition to the above): Resampler.aggregate and Resampler.asfreq. They cannot reference attributes in the top level pandas namespace. Whereas Resampler.interpolate looks fine. One fix would be to update:
to
Wanted to get your thoughts on this as we don't do it elsewhere? |
I think we should understand the problem instead of prefixing with Besides debugging that, we can check if it also fails with other versions of sphinx. |
Another example of the same issue? DataFrame.aggregate |
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.core.groupby.GroupBy.pipe.html#pandas.core.groupby.GroupBy.pipe
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.core.groupby.GroupBy.pipe.html#pandas.core.groupby.GroupBy.apply
Problem description
GroupBy.apply() and GroupBy.pipe() have missing links in their See also section. Might be other missing links in other functions of GroupBy.
Specifically, the links that are not working are Series.apply, DataFrame.apply, Series.pipe, DataFrame.pipe
Expected Output
Links should take you to named functions
The text was updated successfully, but these errors were encountered: