

def astype(self, dtype):
    return Index(dtype.values.astype(dtype), name=self.name, dtype=dtype)

dataset/ETHPy150Open pydata/pandas/pandas/indexes/base.py Index.astype/VarMisuse@15/16 `self`->`dtype`