def _get_datatable_options(self):
        if not hasattr(self, '_datatable_options'):
            self._datatable_options = self.get_datatable_options()

            # Convert sources from list to tuple, so that modern Column tracking dicts can hold the
            # field definitions as keys.
            columns = self._datatable_options.get('columns', [])
            for i, column in enumerate(columns):
                if len(column) >= 2 and isinstance(column[1], list):
                    column = list(column)
                    column[1] = tuple(column[1])
                    columns[i] = tuple(column)

        return self._datatable_options
Return ``s`` where characters have been replaced or deleted.
dataset/ETHPy150Open pivotal-energy-solutions/django-datatable-view/datatableview/views/legacy.py/LegacyDatatableMixin._get_datatable_options--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/utilities/misc.py/translate