diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 539f5515a2f8b..5056b5b82755c 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -652,7 +652,7 @@ def astype(self, dtype, copy=True): Create an Index with values cast to dtypes. The class of a new Index is determined by dtype. When conversion is - impossible, a ValueError exception is raised. + impossible, a TypeError exception is raised. Parameters ----------