<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _revert_categories(self):
 """ Inplace conversion to categories. """

        for column, dtype in self._categories.items():
            if column in self.columns:
                self[column] = self[column].astype(dtype)