def astype(self, index_ops: IndexOpsLike, dtype: Union[(str, type, Dtype)]) -> IndexOpsLike:
    raise TypeError(('astype can not be applied to %s.' % self.pretty_name))
def astype(self, index_ops: IndexOpsLike, dtype: Union[(str, type, Dtype)]) -> IndexOpsLike:
    raise TypeError(('astype can not be applied to %s.' % self.pretty_name))