``self.frame.index.set_names(names)`` will return a new index