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
The documentation says " When conversion is impossible, a ValueError exception is raised." However, checking the code it can be seen that a TypeError is raised instead of ValueError.
Suggested fix for documentation
Just change ValueError to TypeError in the docstring.
The text was updated successfully, but these errors were encountered:
Location of the documentation
The documentation is located at https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Index.astype.html
Documentation problem
The documentation says " When conversion is impossible, a ValueError exception is raised." However, checking the code it can be seen that a TypeError is raised instead of ValueError.
Suggested fix for documentation
Just change ValueError to TypeError in the docstring.
The text was updated successfully, but these errors were encountered: