'Returns a new instance of the :class:`Dataset`, excluding any rows
that do not contain the given :ref:`tags <tags>`.'

def filter(self, tag):

    _dset = copy(self)
    _dset._data = [row for row in _dset._data if row.has_tag(tag)]
    return _dset
