(self, column)
return data
Allow sorting with 2d arrays.
Allow sorting with 2d arrays.
Allow sorting with 2d arrays .
def _sortColumnData(self, column):
        """Allow sorting with 2d arrays."""
        data = np.asarray(self.sortColumnData(column))
        data = data[self.mapToSourceRows(Ellipsis)]

        assert data.ndim <= 2, 'Data should be at most 2-dimensional'
        return data
def _sortColumnData ( self , column ) : data = np . asarray ( self . sortColumnData ( column ) ) data = data [ self . mapToSourceRows ( Ellipsis ) ] assert data . ndim <= 2 , 'Data should be at most 2-dimensional' return data