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
Thanks for the report! Agreed either of your suggested fixes would be good; but I'd lean toward having a full docstring where each argument is described rather than referencing DataFrame's version.
I suspect this isn't tested but haven't checked, would be good to have tests too.
Pandas version checks
main
hereLocation of the documentation
https://pandas.pydata.org/docs/reference/api/pandas.Series.rename.html
Documentation problem
Documentation says only
inplace
keyword is used, but actually other keywords fromDataFrame.rename
are validcopy
errors
level
Suggested fix for documentation
Document the above args - or just mention
Series.rename
accepts all args ofDataFrame.rename
exceptlabels
andcolumns
The text was updated successfully, but these errors were encountered: