def _set_categories(self):
for column, _ in self._categories.items():<EOL><INDENT>if column in self.columns:<EOL><INDENT>self[column] = self[column].astype('<STR_LIT>')<EOL><DEDENT><DEDENT>
Inplace conversion from categories.