def reorder_levels(self, order):
        if not isinstance(self.index, MultiIndex):  # pragma: no cover
            raise Exception('Can only reorder levels on a hierarchical axis.')

        result = self.copy()
        result.index = result.index.reorder_levels(order)
        return result
Renders the :attr:`manage_account_page` with an instance of :attr:`account_form` in the context as ``form``. If the form has been posted, the user's email was changed, and :attr:`email_change_confirmation_email` is not ``None``, sends a confirmation email to the new email to make sure it exists before making the change. The email will have the same context as :meth:`PasswordMultiView.password_reset`.
dataset/ETHPy150Open pydata/pandas/pandas/core/series.py/Series.reorder_levels--crossover with--dataset/ETHPy150Open ithinksw/philo/philo/contrib/waldo/models.py/AccountMultiView.account_view