Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDOC: downcast argument for pd.to_numeric should be integer, not int #35760
Labels
Milestone
Comments
|
Thanks @languitar for the report. It appears that the docs were incorrectly updated in #33093 (and that there are other docstrings that may also now be incorrect) further investigation and PRs welcome |
|
I am new to contribution, I wanted to know if this issue is still open to work on? |
|
Thanks @Anupam-USP.
There is currently a PR open to address this issue. #35776
you may want to look through the good first issues that need tests added to prevent regressions or for documentation related good first issues |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Location of the documentation
https://pandas.pydata.org/docs/dev/reference/api/pandas.to_numeric.html?highlight=to_numeric#pandas.to_numeric
Documentation problem
The documentation declares that the
downcastargument ofpd.to_numericcan use the valueint. However, onlyintegeris working in the real code:Suggested fix for documentation
Replace
intwithinteger