You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@shaido987 thanks a lot for the report. Those overloads should indeed not be shown. This seems to be a bug in sphinx, see sphinx-doc/sphinx#7785
In general, also see #33025 for showing type annotations in the docs or not.
jorisvandenbossche
changed the title
DOC: concat documentation rendering issue
DOC: documentation rendering issue for functions using typing overloads
Oct 19, 2020
Location of the documentation
https://pandas.pydata.org/docs/dev/reference/api/pandas.concat.html
Documentation problem
This is how the method header looks for concat:
For comparison, this is merge:
As can be seen above, concat keeps the type information and there are two entries (likely due to the different output types).
I'm not sure why this occurs, but there are several overloaded methods in the code which could be related:
pandas/pandas/core/reshape/concat.py
Lines 40 to 83 in 54fa3da
The text was updated successfully, but these errors were encountered: