'Return None.  Labels cells based on `func`.
If ``func(cell) is None`` then its datatype is
not changed; otherwise it is set to ``func(cell)``.'

def label_cells(self, func):

    for row in self:
        for cell in row:
            label = func(cell)
            if (label is not None):
                cell.datatype = label
