(self, predicate)
return self.map_partitions(_filter, self, predicate)
Filter elements by a predicate
Filter elements by a predicate
Filter elements by a predicate
def filter(self, predicate):
        """ Filter elements by a predicate """
        return self.map_partitions(_filter, self, predicate)
def filter ( self , predicate ) : return self . map_partitions ( _filter , self , predicate )